#CDC291#CDC291
#CDC291 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.066 H 97.0°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC291 |
|---|---|
| RGB | rgb(205, 194, 145) |
| HSL | hsl(49, 38%, 69%) |
| HSV | hsv(49, 29%, 80%) |
| CMYK | cmyk(0%, 5.4%, 29.3%, 19.6%) |
| CIE-LAB | lab(78.23, -3.68, 26.10) |
| CIE-LCH | lch(78.23, 26.36, 98.03°) |
| OKLab | oklab(81.11% -0.008 0.0657) |
| OKLCH | oklch(81.11% 0.066 97) |
| XYZ | xyz(49.5798, 53.6082, 34.5182) |
| Luminance | 0.5361 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.37
Beige (survey)
#E6DAA6
ΔE00 5.83
Putty
#BEAE8A
ΔE00 6.51
Very Light Brown
#D3B683
ΔE00 6.52
Darkkhaki
#BDB76B
ΔE00 6.88
Sandstone
#C9AE74
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC291 #919CCD
analogous
#CDA491 #CDC291 #BACD91
triadic
#CDC291 #91CDC2 #C291CD
tetradic
#CDC291 #91CDA4 #919CCD #CD91BA
square
#CDC291 #91CDA4 #919CCD #CD91BA
split-complementary
#CDC291 #91BACD #A491CD
monochromatic
#9C8D47 #BAAB67 #CDC291 #E0D9BB #F3F1E5
Accessibility & contrast
On white
1.79
#CDC291 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.72
#CDC291 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC291
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC291 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC291 | 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)
#CCBF8E
Deuteranopia (green-blind)
#CFC393
Tritanopia (blue-blind)
#D6BBB5
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc291; /* rgb */ color: rgb(205, 194, 145); /* oklch */ color: oklch(81.1% 0.066 97.0);
Tailwind
colors: {
custom: {
50: '#ddd4b1',
500: '#cdc291',
950: '#000000',
},
}SCSS
$custom: #cdc291; $custom-light: #ddd4b1; $custom-dark: #000000;
JSON
{
"hex": "#cdc291",
"rgb": {
"r": 205,
"g": 194,
"b": 145
},
"hsl": {
"h": 49,
"s": 37.5,
"l": 68.627
},
"oklch": {
"l": 0.81108,
"c": 0.06614,
"h": 97
},
"luminance": 0.53607
}Semantic roles & 50–950 ramp
primary
#CDC291
secondary
#606CA2
accent
#4CB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381