#CBC94A#CBC94A
#CBC94A is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.4% C 0.147 H 108.4°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CBC94A |
|---|---|
| RGB | rgb(203, 201, 74) |
| HSL | hsl(59, 55%, 54%) |
| HSV | hsv(59, 64%, 80%) |
| CMYK | cmyk(0%, 1%, 63.5%, 20.4%) |
| CIE-LAB | lab(79.02, -14.88, 61.41) |
| CIE-LCH | lch(79.02, 63.18, 103.62°) |
| OKLab | oklab(81.4% -0.0462 0.139) |
| OKLCH | oklch(81.4% 0.147 108.4) |
| XYZ | xyz(46.7528, 54.9656, 14.6239) |
| Luminance | 0.5496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 4.32
Dirty Yellow
#CDC50A
ΔE00 4.43
Puke Yellow
#C2BE0E
ΔE00 4.45
Baby Puke Green
#B6C406
ΔE00 5.11
Bile
#B5C306
ΔE00 5.19
Ugly Yellow
#D0C101
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBC94A #4A4CCB
analogous
#CB894A #CBC94A #8DCB4A
triadic
#CBC94A #4ACBC9 #C94ACB
tetradic
#CBC94A #4ACB89 #4A4CCB #CB4A8D
square
#CBC94A #4ACB89 #4A4CCB #CB4A8D
split-complementary
#CBC94A #4A8DCB #894ACB
monochromatic
#787723 #A8A630 #CBC94A #D9D77A #E6E5A9
Accessibility & contrast
On white
1.75
#CBC94A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#CBC94A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBC94A
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBC94A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBC94A | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C13A
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#D9BDAF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cbc94a; /* rgb */ color: rgb(203, 201, 74); /* oklch */ color: oklch(81.4% 0.147 108.4);
Tailwind
colors: {
custom: {
50: '#ded983',
500: '#cbc94a',
950: '#000000',
},
}SCSS
$custom: #cbc94a; $custom-light: #ded983; $custom-dark: #000000;
JSON
{
"hex": "#cbc94a",
"rgb": {
"r": 203,
"g": 201,
"b": 74
},
"hsl": {
"h": 59.07,
"s": 55.365,
"l": 54.314
},
"oklch": {
"l": 0.81402,
"c": 0.14652,
"h": 108.4
},
"luminance": 0.54964
}Semantic roles & 50–950 ramp
primary
#CBC94A
secondary
#393A80
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E