#CDC57A#CDC57A
#CDC57A is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.096 H 103.0°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC57A |
|---|---|
| RGB | rgb(205, 197, 122) |
| HSL | hsl(54, 45%, 64%) |
| HSV | hsv(54, 40%, 80%) |
| CMYK | cmyk(0%, 3.9%, 40.5%, 19.6%) |
| CIE-LAB | lab(78.65, -7.98, 38.58) |
| CIE-LCH | lch(78.65, 39.40, 101.69°) |
| OKLab | oklab(81.31% -0.0217 0.094) |
| OKLCH | oklch(81.31% 0.096 103) |
| XYZ | xyz(48.6568, 54.3181, 26.3299) |
| Luminance | 0.5432 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.84
Greenish Beige
#C9D179
ΔE00 5.10
Sand (survey)
#E2CA76
ΔE00 5.19
Greenish Tan
#BCCB7A
ΔE00 6.20
Sand
#C2B280
ΔE00 7.23
Pale Olive
#B9CC81
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC57A #7A82CD
analogous
#CD9C7A #CDC57A #ACCD7A
triadic
#CDC57A #7ACDC5 #C57ACD
tetradic
#CDC57A #7ACD9C #7A82CD #CD7AAC
square
#CDC57A #7ACD9C #7A82CD #CD7AAC
split-complementary
#CDC57A #7AACCD #9C7ACD
monochromatic
#958C38 #BCB24E #CDC57A #DED8A6 #EEECD3
Accessibility & contrast
On white
1.77
#CDC57A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#CDC57A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC57A
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC57A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC57A | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1C074
Deuteranopia (green-blind)
#D4C57D
Tritanopia (blue-blind)
#D8BCB3
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc57a; /* rgb */ color: rgb(205, 197, 122); /* oklch */ color: oklch(81.3% 0.096 103.0);
Tailwind
colors: {
custom: {
50: '#ddd6a1',
500: '#cdc57a',
950: '#000000',
},
}SCSS
$custom: #cdc57a; $custom-light: #ddd6a1; $custom-dark: #000000;
JSON
{
"hex": "#cdc57a",
"rgb": {
"r": 205,
"g": 197,
"b": 122
},
"hsl": {
"h": 54.217,
"s": 45.355,
"l": 64.118
},
"oklch": {
"l": 0.81314,
"c": 0.09648,
"h": 103
},
"luminance": 0.54317
}Semantic roles & 50–950 ramp
primary
#CDC57A
secondary
#50579B
accent
#3AB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380