#CDC992#CDC992
#CDC992 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.073 H 104.4°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC992 |
|---|---|
| RGB | rgb(205, 201, 146) |
| HSL | hsl(56, 37%, 69%) |
| HSV | hsv(56, 29%, 80%) |
| CMYK | cmyk(0%, 2%, 28.8%, 19.6%) |
| CIE-LAB | lab(80.08, -7.18, 28.06) |
| CIE-LCH | lch(80.08, 28.97, 104.36°) |
| OKLab | oklab(82.58% -0.018 0.0704) |
| OKLCH | oklch(82.58% 0.073 104.4) |
| XYZ | xyz(51.2520, 56.8287, 35.4577) |
| Luminance | 0.5683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.26
Darkkhaki
#BDB76B
ΔE00 6.57
Greenish Beige
#C9D179
ΔE00 6.77
Greenish Tan
#BCCB7A
ΔE00 6.85
Sand
#C2B280
ΔE00 6.85
Pale Olive
#B9CC81
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC992 #9296CD
analogous
#CDAC92 #CDC992 #B4CD92
triadic
#CDC992 #92CDC9 #C992CD
tetradic
#CDC992 #92CDAC #9296CD #CD92B4
square
#CDC992 #92CDAC #9296CD #CD92B4
split-complementary
#CDC992 #92B4CD #AC92CD
monochromatic
#9D9748 #BAB468 #CDC992 #E0DEBC #F3F3E6
Accessibility & contrast
On white
1.70
#CDC992 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.37
#CDC992 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC992
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC992 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC992 | 1.00 | 1.70 | 12.37 | 12.37 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C58E
Deuteranopia (green-blind)
#D4C894
Tritanopia (blue-blind)
#D6C2BB
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #cdc992; /* rgb */ color: rgb(205, 201, 146); /* oklch */ color: oklch(82.6% 0.073 104.4);
Tailwind
colors: {
custom: {
50: '#ddd9b2',
500: '#cdc992',
950: '#000000',
},
}SCSS
$custom: #cdc992; $custom-light: #ddd9b2; $custom-dark: #000000;
JSON
{
"hex": "#cdc992",
"rgb": {
"r": 205,
"g": 201,
"b": 146
},
"hsl": {
"h": 55.932,
"s": 37.107,
"l": 68.824
},
"oklch": {
"l": 0.82578,
"c": 0.07263,
"h": 104.4
},
"luminance": 0.56828
}Semantic roles & 50–950 ramp
primary
#CDC992
secondary
#6165A2
accent
#3EB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381