#CBCA5A#CBCA5A
#CBCA5A is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.134 H 108.6°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CBCA5A |
|---|---|
| RGB | rgb(203, 202, 90) |
| HSL | hsl(59, 52%, 57%) |
| HSV | hsv(59, 56%, 80%) |
| CMYK | cmyk(0%, 0.5%, 55.7%, 20.4%) |
| CIE-LAB | lab(79.43, -14.28, 54.95) |
| CIE-LCH | lch(79.43, 56.78, 104.57°) |
| OKLab | oklab(81.77% -0.0428 0.1275) |
| OKLCH | oklch(81.77% 0.134 108.6) |
| XYZ | xyz(47.5959, 55.6770, 17.9104) |
| Luminance | 0.5568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.84
Vomit Yellow
#C7C10C
ΔE00 6.07
Puke Yellow
#C2BE0E
ΔE00 6.09
Dirty Yellow
#CDC50A
ΔE00 6.22
Baby Puke Green
#B6C406
ΔE00 6.37
Bile
#B5C306
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBCA5A #5A5BCB
analogous
#CB915A #CBCA5A #94CB5A
triadic
#CBCA5A #5ACBCA #CA5ACB
tetradic
#CBCA5A #5ACB91 #5A5BCB #CB5A94
square
#CBCA5A #5ACB91 #5A5BCB #CB5A94
split-complementary
#CBCA5A #5A94CB #915ACB
monochromatic
#828129 #B0AF38 #CBCA5A #DAD989 #E8E8B7
Accessibility & contrast
On white
1.73
#CBCA5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.14
#CBCA5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBCA5A
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBCA5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBCA5A | 1.00 | 1.73 | 12.14 | 12.14 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C34E
Deuteranopia (green-blind)
#DAC760
Tritanopia (blue-blind)
#D8BFB1
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cbca5a; /* rgb */ color: rgb(203, 202, 90); /* oklch */ color: oklch(81.8% 0.134 108.6);
Tailwind
colors: {
custom: {
50: '#ddd98c',
500: '#cbca5a',
950: '#000000',
},
}SCSS
$custom: #cbca5a; $custom-light: #ddd98c; $custom-dark: #000000;
JSON
{
"hex": "#cbca5a",
"rgb": {
"r": 203,
"g": 202,
"b": 90
},
"hsl": {
"h": 59.469,
"s": 52.074,
"l": 57.451
},
"oklch": {
"l": 0.81773,
"c": 0.13445,
"h": 108.6
},
"luminance": 0.55676
}Semantic roles & 50–950 ramp
primary
#CBCA5A
secondary
#404189
accent
#4EDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F