#CFC286#CFC286
#CFC286 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.080 H 97.4°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC286 |
|---|---|
| RGB | rgb(207, 194, 134) |
| HSL | hsl(49, 43%, 67%) |
| HSV | hsv(49, 35%, 81%) |
| CMYK | cmyk(0%, 6.3%, 35.3%, 18.8%) |
| CIE-LAB | lab(78.21, -4.27, 31.87) |
| CIE-LCH | lch(78.21, 32.16, 97.64°) |
| OKLab | oklab(81.07% -0.0103 0.079) |
| OKLCH | oklch(81.07% 0.08 97.4) |
| XYZ | xyz(49.3277, 53.5716, 30.2915) |
| Luminance | 0.5357 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.68
Darkkhaki
#BDB76B
ΔE00 5.19
Sand (survey)
#E2CA76
ΔE00 5.65
Beige (survey)
#E6DAA6
ΔE00 6.17
Very Light Brown
#D3B683
ΔE00 6.48
Sandstone
#C9AE74
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC286 #8693CF
analogous
#CF9E86 #CFC286 #B8CF86
triadic
#CFC286 #86CFC2 #C286CF
tetradic
#CFC286 #86CF9E #8693CF #CF86B8
square
#CFC286 #86CF9E #8693CF #CF86B8
split-complementary
#CFC286 #86B8CF #9E86CF
monochromatic
#9D8C3E #BEAC5A #CFC286 #E0D8B2 #F2EEDE
Accessibility & contrast
On white
1.79
#CFC286 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.71
#CFC286 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC286
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC286 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC286 | 1.00 | 1.79 | 11.71 | 11.71 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBF82
Deuteranopia (green-blind)
#D1C488
Tritanopia (blue-blind)
#DABAB3
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc286; /* rgb */ color: rgb(207, 194, 134); /* oklch */ color: oklch(81.1% 0.080 97.4);
Tailwind
colors: {
custom: {
50: '#ded4aa',
500: '#cfc286',
950: '#000000',
},
}SCSS
$custom: #cfc286; $custom-light: #ded4aa; $custom-dark: #000000;
JSON
{
"hex": "#cfc286",
"rgb": {
"r": 207,
"g": 194,
"b": 134
},
"hsl": {
"h": 49.315,
"s": 43.195,
"l": 66.863
},
"oklch": {
"l": 0.8107,
"c": 0.07968,
"h": 97.4
},
"luminance": 0.5357
}Semantic roles & 50–950 ramp
primary
#CFC286
secondary
#5764A2
accent
#47B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381