#CDC286#CDC286
#CDC286 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.079 H 99.0°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC286 |
|---|---|
| RGB | rgb(205, 194, 134) |
| HSL | hsl(51, 42%, 66%) |
| HSV | hsv(51, 35%, 80%) |
| CMYK | cmyk(0%, 5.4%, 34.6%, 19.6%) |
| CIE-LAB | lab(78.04, -5.06, 31.62) |
| CIE-LCH | lch(78.04, 32.02, 99.09°) |
| OKLab | oklab(80.9% -0.0125 0.0784) |
| OKLCH | oklch(80.9% 0.079 99) |
| XYZ | xyz(48.7724, 53.2852, 30.2655) |
| Luminance | 0.5328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.82
Darkkhaki
#BDB76B
ΔE00 4.88
Sand (survey)
#E2CA76
ΔE00 6.04
Beige (survey)
#E6DAA6
ΔE00 6.29
Sandstone
#C9AE74
ΔE00 6.96
Very Light Brown
#D3B683
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC286 #8691CD
analogous
#CD9F86 #CDC286 #B5CD86
triadic
#CDC286 #86CDC2 #C286CD
tetradic
#CDC286 #86CD9F #8691CD #CD86B5
square
#CDC286 #86CD9F #8691CD #CD86B5
split-complementary
#CDC286 #86B5CD #9F86CD
monochromatic
#998B3F #BBAC5B #CDC286 #DFD8B1 #F1EEDD
Accessibility & contrast
On white
1.80
#CDC286 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.66
#CDC286 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC286
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC286 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC286 | 1.00 | 1.80 | 11.66 | 11.66 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBE82
Deuteranopia (green-blind)
#D1C388
Tritanopia (blue-blind)
#D7BAB3
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc286; /* rgb */ color: rgb(205, 194, 134); /* oklch */ color: oklch(80.9% 0.079 99.0);
Tailwind
colors: {
custom: {
50: '#ddd4aa',
500: '#cdc286',
950: '#000000',
},
}SCSS
$custom: #cdc286; $custom-light: #ddd4aa; $custom-dark: #000000;
JSON
{
"hex": "#cdc286",
"rgb": {
"r": 205,
"g": 194,
"b": 134
},
"hsl": {
"h": 50.704,
"s": 41.52,
"l": 66.471
},
"oklch": {
"l": 0.80896,
"c": 0.07942,
"h": 99
},
"luminance": 0.53284
}Semantic roles & 50–950 ramp
primary
#CDC286
secondary
#5863A0
accent
#45B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381