#CDC57F#CDC57F
#CDC57F is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.091 H 102.6°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC57F |
|---|---|
| RGB | rgb(205, 197, 127) |
| HSL | hsl(54, 44%, 65%) |
| HSV | hsv(54, 38%, 80%) |
| CMYK | cmyk(0%, 3.9%, 38%, 19.6%) |
| CIE-LAB | lab(78.72, -7.43, 36.12) |
| CIE-LCH | lch(78.72, 36.88, 101.62°) |
| OKLab | oklab(81.4% -0.0198 0.0886) |
| OKLCH | oklch(81.4% 0.091 102.6) |
| XYZ | xyz(48.9746, 54.4452, 28.0037) |
| Luminance | 0.5444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.08
Sand (survey)
#E2CA76
ΔE00 5.48
Greenish Beige
#C9D179
ΔE00 5.48
Greenish Tan
#BCCB7A
ΔE00 6.34
Sand
#C2B280
ΔE00 6.66
Beige (survey)
#E6DAA6
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC57F #7F87CD
analogous
#CD9E7F #CDC57F #AECD7F
triadic
#CDC57F #7FCDC5 #C57FCD
tetradic
#CDC57F #7FCD9E #7F87CD #CD7FAE
square
#CDC57F #7FCD9E #7F87CD #CD7FAE
split-complementary
#CDC57F #7FAECD #9E7FCD
monochromatic
#978D3B #BCB153 #CDC57F #DED9AB #EFEDD7
Accessibility & contrast
On white
1.77
#CDC57F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.89
#CDC57F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC57F
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC57F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC57F | 1.00 | 1.77 | 11.89 | 11.89 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1C07A
Deuteranopia (green-blind)
#D4C582
Tritanopia (blue-blind)
#D8BCB3
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc57f; /* rgb */ color: rgb(205, 197, 127); /* oklch */ color: oklch(81.4% 0.091 102.6);
Tailwind
colors: {
custom: {
50: '#ddd6a5',
500: '#cdc57f',
950: '#000000',
},
}SCSS
$custom: #cdc57f; $custom-light: #ddd6a5; $custom-dark: #000000;
JSON
{
"hex": "#cdc57f",
"rgb": {
"r": 205,
"g": 197,
"b": 127
},
"hsl": {
"h": 53.846,
"s": 43.82,
"l": 65.098
},
"oklch": {
"l": 0.81397,
"c": 0.09079,
"h": 102.6
},
"luminance": 0.54444
}Semantic roles & 50–950 ramp
primary
#CDC57F
secondary
#535B9D
accent
#3DB72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380