#CDC17A#CDC17A
#CDC17A is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.092 H 99.8°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC17A |
|---|---|
| RGB | rgb(205, 193, 122) |
| HSL | hsl(51, 45%, 64%) |
| HSV | hsv(51, 40%, 80%) |
| CMYK | cmyk(0%, 5.9%, 40.5%, 19.6%) |
| CIE-LAB | lab(77.59, -5.91, 37.24) |
| CIE-LCH | lch(77.59, 37.71, 99.02°) |
| OKLab | oklab(80.48% -0.0158 0.0909) |
| OKLCH | oklch(80.48% 0.092 99.8) |
| XYZ | xyz(47.7606, 52.5256, 26.0312) |
| Luminance | 0.5252 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.63
Sand (survey)
#E2CA76
ΔE00 4.81
Sand
#C2B280
ΔE00 5.84
Greenish Beige
#C9D179
ΔE00 6.69
Tan (survey)
#D1B26F
ΔE00 6.79
Sandstone
#C9AE74
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC17A #7A86CD
analogous
#CD987A #CDC17A #B0CD7A
triadic
#CDC17A #7ACDC1 #C17ACD
tetradic
#CDC17A #7ACD98 #7A86CD #CD7AB0
square
#CDC17A #7ACD98 #7A86CD #CD7AB0
split-complementary
#CDC17A #7AB0CD #987ACD
monochromatic
#958738 #BCAC4E #CDC17A #DED6A6 #EEEAD3
Accessibility & contrast
On white
1.83
#CDC17A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.50
#CDC17A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC17A
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC17A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC17A | 1.00 | 1.83 | 11.50 | 11.50 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBD75
Deuteranopia (green-blind)
#D1C27D
Tritanopia (blue-blind)
#D9B8AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc17a; /* rgb */ color: rgb(205, 193, 122); /* oklch */ color: oklch(80.5% 0.092 99.8);
Tailwind
colors: {
custom: {
50: '#ddd3a1',
500: '#cdc17a',
950: '#000000',
},
}SCSS
$custom: #cdc17a; $custom-light: #ddd3a1; $custom-dark: #000000;
JSON
{
"hex": "#cdc17a",
"rgb": {
"r": 205,
"g": 193,
"b": 122
},
"hsl": {
"h": 51.325,
"s": 45.355,
"l": 64.118
},
"oklch": {
"l": 0.8048,
"c": 0.0923,
"h": 99.8
},
"luminance": 0.52524
}Semantic roles & 50–950 ramp
primary
#CDC17A
secondary
#505B9B
accent
#41B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380