#CBC64C#CBC64C
#CBC64C is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.142 H 106.9°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CBC64C |
|---|---|
| RGB | rgb(203, 198, 76) |
| HSL | hsl(58, 55%, 55%) |
| HSV | hsv(58, 63%, 80%) |
| CMYK | cmyk(0%, 2.5%, 62.6%, 20.4%) |
| CIE-LAB | lab(78.23, -13.25, 59.74) |
| CIE-LCH | lch(78.23, 61.20, 102.50°) |
| OKLab | oklab(80.78% -0.0414 0.1358) |
| OKLCH | oklch(80.78% 0.142 106.9) |
| XYZ | xyz(46.1288, 53.6080, 14.7536) |
| Luminance | 0.5361 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 4.30
Puke Yellow
#C2BE0E
ΔE00 4.36
Dirty Yellow
#CDC50A
ΔE00 4.51
Ugly Yellow
#D0C101
ΔE00 5.32
Olive Yellow
#C2B709
ΔE00 5.47
Baby Puke Green
#B6C406
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBC64C #4C51CB
analogous
#CB874C #CBC64C #90CB4C
triadic
#CBC64C #4CCBC6 #C64CCB
tetradic
#CBC64C #4CCB87 #4C51CB #CB4C90
square
#CBC64C #4CCB87 #4C51CB #CB4C90
split-complementary
#CBC64C #4C90CB #874CCB
monochromatic
#797623 #A9A431 #CBC64C #D9D57B #E7E4AB
Accessibility & contrast
On white
1.79
#CBC64C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.72
#CBC64C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBC64C
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBC64C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBC64C | 1.00 | 1.79 | 11.72 | 11.72 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BF3D
Deuteranopia (green-blind)
#D8C453
Tritanopia (blue-blind)
#D9BAAD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cbc64c; /* rgb */ color: rgb(203, 198, 76); /* oklch */ color: oklch(80.8% 0.142 106.9);
Tailwind
colors: {
custom: {
50: '#ded784',
500: '#cbc64c',
950: '#000000',
},
}SCSS
$custom: #cbc64c; $custom-light: #ded784; $custom-dark: #000000;
JSON
{
"hex": "#cbc64c",
"rgb": {
"r": 203,
"g": 198,
"b": 76
},
"hsl": {
"h": 57.638,
"s": 54.978,
"l": 54.706
},
"oklch": {
"l": 0.80778,
"c": 0.14198,
"h": 106.9
},
"luminance": 0.53606
}Semantic roles & 50–950 ramp
primary
#CBC64C
secondary
#3A3C82
accent
#4FDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E