#CDC292#CDC292
#CDC292 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.065 H 96.7°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC292 |
|---|---|
| RGB | rgb(205, 194, 146) |
| HSL | hsl(49, 37%, 69%) |
| HSV | hsv(49, 29%, 80%) |
| CMYK | cmyk(0%, 5.4%, 28.8%, 19.6%) |
| CIE-LAB | lab(78.25, -3.55, 25.59) |
| CIE-LCH | lch(78.25, 25.84, 97.90°) |
| OKLab | oklab(81.13% -0.0076 0.0645) |
| OKLCH | oklch(81.13% 0.065 96.7) |
| XYZ | xyz(49.6573, 53.6392, 34.9261) |
| Luminance | 0.5364 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.40
Beige (survey)
#E6DAA6
ΔE00 5.85
Putty
#BEAE8A
ΔE00 6.39
Very Light Brown
#D3B683
ΔE00 6.51
Darkkhaki
#BDB76B
ΔE00 7.09
Sandstone
#C9AE74
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC292 #929DCD
analogous
#CDA592 #CDC292 #BBCD92
triadic
#CDC292 #92CDC2 #C292CD
tetradic
#CDC292 #92CDA5 #929DCD #CD92BB
square
#CDC292 #92CDA5 #929DCD #CD92BB
split-complementary
#CDC292 #92BBCD #A592CD
monochromatic
#9D8D48 #BAAB68 #CDC292 #E0D9BC #F3F1E6
Accessibility & contrast
On white
1.79
#CDC292 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#CDC292 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC292
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC292 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC292 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBF8F
Deuteranopia (green-blind)
#CFC394
Tritanopia (blue-blind)
#D6BBB5
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc292; /* rgb */ color: rgb(205, 194, 146); /* oklch */ color: oklch(81.1% 0.065 96.7);
Tailwind
colors: {
custom: {
50: '#ddd4b2',
500: '#cdc292',
950: '#000000',
},
}SCSS
$custom: #cdc292; $custom-light: #ddd4b2; $custom-dark: #000000;
JSON
{
"hex": "#cdc292",
"rgb": {
"r": 205,
"g": 194,
"b": 146
},
"hsl": {
"h": 48.814,
"s": 37.107,
"l": 68.824
},
"oklch": {
"l": 0.81129,
"c": 0.06491,
"h": 96.7
},
"luminance": 0.53638
}Semantic roles & 50–950 ramp
primary
#CDC292
secondary
#616DA2
accent
#4CB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381