#CDC492#CDC492
#CDC492 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.067 H 99.1°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC492 |
|---|---|
| RGB | rgb(205, 196, 146) |
| HSL | hsl(51, 37%, 69%) |
| HSV | hsv(51, 29%, 80%) |
| CMYK | cmyk(0%, 4.4%, 28.8%, 19.6%) |
| CIE-LAB | lab(78.77, -4.59, 26.30) |
| CIE-LCH | lch(78.77, 26.70, 99.91°) |
| OKLab | oklab(81.54% -0.0106 0.0662) |
| OKLCH | oklch(81.54% 0.067 99.1) |
| XYZ | xyz(50.1054, 54.5354, 35.0755) |
| Luminance | 0.5453 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.04
Beige (survey)
#E6DAA6
ΔE00 5.50
Darkkhaki
#BDB76B
ΔE00 6.77
Putty
#BEAE8A
ΔE00 7.24
Very Light Brown
#D3B683
ΔE00 7.32
Sand (survey)
#E2CA76
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC492 #929BCD
analogous
#CDA792 #CDC492 #B9CD92
triadic
#CDC492 #92CDC4 #C492CD
tetradic
#CDC492 #92CDA7 #929BCD #CD92B9
square
#CDC492 #92CDA7 #929BCD #CD92B9
split-complementary
#CDC492 #92B9CD #A792CD
monochromatic
#9D9048 #BAAD68 #CDC492 #E0DBBC #F3F1E6
Accessibility & contrast
On white
1.76
#CDC492 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.91
#CDC492 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC492
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC492 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC492 | 1.00 | 1.76 | 11.91 | 11.91 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEC18F
Deuteranopia (green-blind)
#D0C594
Tritanopia (blue-blind)
#D6BDB7
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc492; /* rgb */ color: rgb(205, 196, 146); /* oklch */ color: oklch(81.5% 0.067 99.1);
Tailwind
colors: {
custom: {
50: '#ddd5b2',
500: '#cdc492',
950: '#000000',
},
}SCSS
$custom: #cdc492; $custom-light: #ddd5b2; $custom-dark: #000000;
JSON
{
"hex": "#cdc492",
"rgb": {
"r": 205,
"g": 196,
"b": 146
},
"hsl": {
"h": 50.847,
"s": 37.107,
"l": 68.824
},
"oklch": {
"l": 0.81541,
"c": 0.06699,
"h": 99.1
},
"luminance": 0.54534
}Semantic roles & 50–950 ramp
primary
#CDC492
secondary
#616BA2
accent
#48B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381