Skip to content

#C0CB2A Color

#C0CB2A is rgb(192, 203, 42) in RGB, hsl(64, 66%, 48%) in HSL, and about cmyk(5%, 0%, 79%, 20%) in CMYK. It has no registered color name of its own — the closest is Acid Green (#B0BF1A), very hard to tell apart at ΔE 4.89. Black text is the more readable choice on this background.

#C0CB2A
HEX#C0CB2A
RGBrgb(192, 203, 42)
HSLhsl(64, 66%, 48%)
HSVhsv(64, 79%, 80%)
CMYKcmyk(5%, 0%, 79%, 20%)
OKLCHoklch(80.7% 0.17 113.7)
LABlab(78.86% -17.29 70.96)
LCHlch(78.86% 73.04 103.69)

What #C0CB2A Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #C0CB2A, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every yellow in the library.

#C0CB2A Channel Values

How #C0CB2A breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 192 · G 203 · B 428-bit channels as sent to the display
HSLH 64° · S 66% · L 48%Easiest model for building lighter and darker variants
HSVH 64° · S 79% · V 80%Matches the picker in most design tools
CMYKC 5% · M 0% · Y 79% · K 20%Approximate ink mix; confirm with an ICC profile before printing
Luminance1.78:1 vs white · 11.82:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #C0CB2A background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text1.78:1AA normal AA large AAA normal
TextBlack text11.82:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #C0CB2A in the contrast checker.

Colors That Go With #C0CB2A

Pairings derived from color-wheel relationships. The complementary color sits opposite #C0CB2A; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #C0CB2A

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #C0CB2A.

How #C0CB2A Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#C0CB2A
Protanopia#C9C92A
Protanomaly#C6CA2A
Deuteranopia#C7C72C
Deuteranomaly#C5C92B
Tritanopia#CBC0C0
Tritanomaly#C7C49A
Achromatopsia#C2C2C2

Test a full palette in the color blindness simulator.

Using #C0CB2A in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-c0cb2a: #C0CB2A;
CSS backgroundbackground-color: #C0CB2A;
Tailwind configcolors: { 'color-c0cb2a': '#C0CB2A' }
SwiftUIColor(red: 0.753, green: 0.796, blue: 0.165)
Android XML<color name="color_c0cb2a">#C0CB2A</color>
SVG fillfill="#C0CB2A"

More Yellow Colors

#C0CB2A sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#C0CB2A Frequently Asked Questions

What color is #C0CB2A?

#C0CB2A is a mid-tone yellow — rgb(192, 203, 42) in RGB and hsl(64, 66%, 48%) in HSL. It carries no registered color name of its own; the closest named color is Acid Green (#B0BF1A), which is very hard to tell apart at a CIE76 distance of 4.89.

What is the RGB value of #C0CB2A?

#C0CB2A is rgb(192, 203, 42) — red 192, green 203, and blue 42 on the 0-255 scale.

What is the CMYK value of #C0CB2A?

#C0CB2A converts to approximately cmyk(5%, 0%, 79%, 20%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #C0CB2A be black or white?

Black text is the more readable choice. #C0CB2A scores 1.78:1 against white and 11.82:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #C0CB2A as a CSS color keyword?

No. #C0CB2A is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is yellowgreen (#9ACD32) at a CIE76 distance of 16.81, which is visibly different.

Open #C0CB2A in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.