#CDC592#CDC592
#CDC592 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.068 H 100.2°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC592 |
|---|---|
| RGB | rgb(205, 197, 146) |
| HSL | hsl(52, 37%, 69%) |
| HSV | hsv(52, 29%, 80%) |
| CMYK | cmyk(0%, 3.9%, 28.8%, 19.6%) |
| CIE-LAB | lab(79.03, -5.11, 26.65) |
| CIE-LCH | lch(79.03, 27.14, 100.86°) |
| OKLab | oklab(81.75% -0.0121 0.067) |
| OKLCH | oklch(81.75% 0.068 100.2) |
| XYZ | xyz(50.3317, 54.9880, 35.1509) |
| Luminance | 0.5499 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.38
Sand
#C2B280
ΔE00 5.39
Darkkhaki
#BDB76B
ΔE00 6.67
Putty
#BEAE8A
ΔE00 7.66
Very Light Brown
#D3B683
ΔE00 7.73
Sand (survey)
#E2CA76
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC592 #929ACD
analogous
#CDA892 #CDC592 #B8CD92
triadic
#CDC592 #92CDC5 #C592CD
tetradic
#CDC592 #92CDA8 #929ACD #CD92B8
square
#CDC592 #92CDA8 #929ACD #CD92B8
split-complementary
#CDC592 #92B8CD #A892CD
monochromatic
#9D9148 #BAAF68 #CDC592 #E0DBBC #F3F2E6
Accessibility & contrast
On white
1.75
#CDC592 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.00
#CDC592 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC592
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC592 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC592 | 1.00 | 1.75 | 12.00 | 12.00 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFC28F
Deuteranopia (green-blind)
#D1C594
Tritanopia (blue-blind)
#D6BEB7
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc592; /* rgb */ color: rgb(205, 197, 146); /* oklch */ color: oklch(81.7% 0.068 100.2);
Tailwind
colors: {
custom: {
50: '#ddd6b2',
500: '#cdc592',
950: '#000000',
},
}SCSS
$custom: #cdc592; $custom-light: #ddd6b2; $custom-dark: #000000;
JSON
{
"hex": "#cdc592",
"rgb": {
"r": 205,
"g": 197,
"b": 146
},
"hsl": {
"h": 51.864,
"s": 37.107,
"l": 68.824
},
"oklch": {
"l": 0.81748,
"c": 0.06807,
"h": 100.2
},
"luminance": 0.54987
}Semantic roles & 50–950 ramp
primary
#CDC592
secondary
#616AA2
accent
#46B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381