#CDC47F#CDC47F
#CDC47F is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.090 H 101.8°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC47F |
|---|---|
| RGB | rgb(205, 196, 127) |
| HSL | hsl(53, 44%, 65%) |
| HSV | hsv(53, 38%, 80%) |
| CMYK | cmyk(0%, 4.4%, 38%, 19.6%) |
| CIE-LAB | lab(78.46, -6.91, 35.78) |
| CIE-LCH | lch(78.46, 36.45, 100.93°) |
| OKLab | oklab(81.19% -0.0183 0.0878) |
| OKLCH | oklch(81.19% 0.09 101.8) |
| XYZ | xyz(48.7483, 53.9926, 27.9282) |
| Luminance | 0.5399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.01
Sand (survey)
#E2CA76
ΔE00 5.37
Greenish Beige
#C9D179
ΔE00 5.88
Sand
#C2B280
ΔE00 6.30
Greenish Tan
#BCCB7A
ΔE00 6.69
Beige (survey)
#E6DAA6
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC47F #7F88CD
analogous
#CD9D7F #CDC47F #AFCD7F
triadic
#CDC47F #7FCDC4 #C47FCD
tetradic
#CDC47F #7FCD9D #7F88CD #CD7FAF
square
#CDC47F #7FCD9D #7F88CD #CD7FAF
split-complementary
#CDC47F #7FAFCD #9D7FCD
monochromatic
#978C3B #BCB053 #CDC47F #DED8AB #EFEDD7
Accessibility & contrast
On white
1.78
#CDC47F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.80
#CDC47F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC47F
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC47F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC47F | 1.00 | 1.78 | 11.80 | 11.80 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0C07A
Deuteranopia (green-blind)
#D3C482
Tritanopia (blue-blind)
#D8BBB3
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc47f; /* rgb */ color: rgb(205, 196, 127); /* oklch */ color: oklch(81.2% 0.090 101.8);
Tailwind
colors: {
custom: {
50: '#ddd5a5',
500: '#cdc47f',
950: '#000000',
},
}SCSS
$custom: #cdc47f; $custom-light: #ddd5a5; $custom-dark: #000000;
JSON
{
"hex": "#cdc47f",
"rgb": {
"r": 205,
"g": 196,
"b": 127
},
"hsl": {
"h": 53.077,
"s": 43.82,
"l": 65.098
},
"oklch": {
"l": 0.81188,
"c": 0.08971,
"h": 101.8
},
"luminance": 0.53991
}Semantic roles & 50–950 ramp
primary
#CDC47F
secondary
#535C9D
accent
#3EB72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380