#CDC86D#CDC86D
#CDC86D is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.114 H 105.9°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC86D |
|---|---|
| RGB | rgb(205, 200, 109) |
| HSL | hsl(57, 49%, 62%) |
| HSV | hsv(57, 47%, 80%) |
| CMYK | cmyk(0%, 2.4%, 46.8%, 19.6%) |
| CIE-LAB | lab(79.27, -10.83, 45.84) |
| CIE-LCH | lch(79.27, 47.10, 103.29°) |
| OKLab | oklab(81.75% -0.0311 0.1094) |
| OKLCH | oklch(81.75% 0.114 105.9) |
| XYZ | xyz(48.5925, 55.3931, 22.5973) |
| Luminance | 0.5539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.95
Darkkhaki
#BDB76B
ΔE00 4.84
Sand (survey)
#E2CA76
ΔE00 5.77
Greenish Tan
#BCCB7A
ΔE00 5.81
Sandy
#F1DA7A
ΔE00 7.10
Light Olive
#ACBF69
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC86D #6D72CD
analogous
#CD986D #CDC86D #A2CD6D
triadic
#CDC86D #6DCDC8 #C86DCD
tetradic
#CDC86D #6DCD98 #6D72CD #CD6DA2
square
#CDC86D #6DCD98 #6D72CD #CD6DA2
split-complementary
#CDC86D #6DA2CD #986DCD
monochromatic
#8F8A31 #BCB640 #CDC86D #DDD99B #ECEAC8
Accessibility & contrast
On white
1.74
#CDC86D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.08
#CDC86D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC86D
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC86D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC86D | 1.00 | 1.74 | 12.08 | 12.08 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C265
Deuteranopia (green-blind)
#D8C671
Tritanopia (blue-blind)
#D9BEB3
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc86d; /* rgb */ color: rgb(205, 200, 109); /* oklch */ color: oklch(81.8% 0.114 105.9);
Tailwind
colors: {
custom: {
50: '#ded899',
500: '#cdc86d',
950: '#000000',
},
}SCSS
$custom: #cdc86d; $custom-light: #ded899; $custom-dark: #000000;
JSON
{
"hex": "#cdc86d",
"rgb": {
"r": 205,
"g": 200,
"b": 109
},
"hsl": {
"h": 56.875,
"s": 48.98,
"l": 61.569
},
"oklch": {
"l": 0.8175,
"c": 0.11377,
"h": 105.9
},
"luminance": 0.55392
}Semantic roles & 50–950 ramp
primary
#CDC86D
secondary
#494D95
accent
#31BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F