#CDC86A#CDC86A
#CDC86A is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.117 H 106.0°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC86A |
|---|---|
| RGB | rgb(205, 200, 106) |
| HSL | hsl(57, 50%, 61%) |
| HSV | hsv(57, 48%, 80%) |
| CMYK | cmyk(0%, 2.4%, 48.3%, 19.6%) |
| CIE-LAB | lab(79.23, -11.11, 47.26) |
| CIE-LCH | lch(79.23, 48.55, 103.23°) |
| OKLab | oklab(81.71% -0.0322 0.1123) |
| OKLCH | oklch(81.71% 0.117 106) |
| XYZ | xyz(48.4338, 55.3296, 21.7612) |
| Luminance | 0.5533 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.11
Darkkhaki
#BDB76B
ΔE00 5.05
Sand (survey)
#E2CA76
ΔE00 5.88
Greenish Tan
#BCCB7A
ΔE00 6.02
Sandy
#F1DA7A
ΔE00 7.08
Light Olive
#ACBF69
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC86A #6A6FCD
analogous
#CD966A #CDC86A #A0CD6A
triadic
#CDC86A #6ACDC8 #C86ACD
tetradic
#CDC86A #6ACD96 #6A6FCD #CD6AA0
square
#CDC86A #6ACD96 #6A6FCD #CD6AA0
split-complementary
#CDC86A #6AA0CD #966ACD
monochromatic
#8D882F #BBB53F #CDC86A #DCD998 #ECEAC6
Accessibility & contrast
On white
1.74
#CDC86A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.07
#CDC86A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC86A
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC86A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC86A | 1.00 | 1.74 | 12.07 | 12.07 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C262
Deuteranopia (green-blind)
#D8C66E
Tritanopia (blue-blind)
#D9BDB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc86a; /* rgb */ color: rgb(205, 200, 106); /* oklch */ color: oklch(81.7% 0.117 106.0);
Tailwind
colors: {
custom: {
50: '#ded897',
500: '#cdc86a',
950: '#000000',
},
}SCSS
$custom: #cdc86a; $custom-light: #ded897; $custom-dark: #000000;
JSON
{
"hex": "#cdc86a",
"rgb": {
"r": 205,
"g": 200,
"b": 106
},
"hsl": {
"h": 56.97,
"s": 49.749,
"l": 60.98
},
"oklch": {
"l": 0.81709,
"c": 0.11685,
"h": 106
},
"luminance": 0.55328
}Semantic roles & 50–950 ramp
primary
#CDC86A
secondary
#474B94
accent
#30BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F