Skip to content

#CBCB2A Color

#CBCB2A is rgb(203, 203, 42) in RGB, hsl(60, 66%, 48%) in HSL, and about cmyk(0%, 0%, 79%, 20%) in CMYK. It has no registered color name of its own — the closest is Acid Green (#B0BF1A), clearly related but distinguishable side by side at ΔE 8.37. Black text is the more readable choice on this background.

#CBCB2A
HEX#CBCB2A
RGBrgb(203, 203, 42)
HSLhsl(60, 66%, 48%)
HSVhsv(60, 79%, 80%)
CMYKcmyk(0%, 0%, 79%, 20%)
OKLCHoklch(81.6% 0.167 109.6)
LABlab(79.75% -12.71 72.14)
LCHlch(79.75% 73.25 99.99)

What #CBCB2A 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 #CBCB2A, 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.

#CBCB2A Channel Values

How #CBCB2A 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 203 · G 203 · B 428-bit channels as sent to the display
HSLH 60° · S 66% · L 48%Easiest model for building lighter and darker variants
HSVH 60° · S 79% · V 80%Matches the picker in most design tools
CMYKC 0% · M 0% · Y 79% · K 20%Approximate ink mix; confirm with an ICC profile before printing
Luminance1.73:1 vs white · 12.12:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #CBCB2A 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.73:1AA normal AA large AAA normal
TextBlack text12.12:1AA normal AA large AAA normal

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

Colors That Go With #CBCB2A

Pairings derived from color-wheel relationships. The complementary color sits opposite #CBCB2A; 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 #CBCB2A

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 #CBCB2A.

How #CBCB2A 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#CBCB2A
Protanopia#CBCB2A
Protanomaly#CBCB2A
Deuteranopia#CBCB2A
Deuteranomaly#CBCB2A
Tritanopia#D6C0C0
Tritanomaly#D2C49A
Achromatopsia#C5C5C5

Test a full palette in the color blindness simulator.

Using #CBCB2A in Code

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

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

More Yellow Colors

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

#CBCB2A Frequently Asked Questions

What color is #CBCB2A?

#CBCB2A is a mid-tone yellow — rgb(203, 203, 42) in RGB and hsl(60, 66%, 48%) in HSL. It carries no registered color name of its own; the closest named color is Acid Green (#B0BF1A), which is clearly related but distinguishable side by side at a CIE76 distance of 8.37.

What is the RGB value of #CBCB2A?

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

What is the CMYK value of #CBCB2A?

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

Should text on #CBCB2A be black or white?

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

Can I write #CBCB2A as a CSS color keyword?

No. #CBCB2A 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 21.61, which is visibly different.

Open #CBCB2A in a Tool

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