#CFC186#CFC186
#CFC186 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.9% C 0.079 H 96.4°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC186 |
|---|---|
| RGB | rgb(207, 193, 134) |
| HSL | hsl(48, 43%, 67%) |
| HSV | hsv(48, 35%, 81%) |
| CMYK | cmyk(0%, 6.8%, 35.3%, 18.8%) |
| CIE-LAB | lab(77.95, -3.75, 31.53) |
| CIE-LCH | lch(77.95, 31.75, 96.79°) |
| OKLab | oklab(80.86% -0.0088 0.0782) |
| OKLCH | oklch(80.86% 0.079 96.4) |
| XYZ | xyz(49.1059, 53.1280, 30.2176) |
| Luminance | 0.5313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.33
Darkkhaki
#BDB76B
ΔE00 5.35
Sand (survey)
#E2CA76
ΔE00 5.73
Very Light Brown
#D3B683
ΔE00 6.04
Sandstone
#C9AE74
ΔE00 6.15
Tan (survey)
#D1B26F
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC186 #8694CF
analogous
#CF9D86 #CFC186 #B9CF86
triadic
#CFC186 #86CFC1 #C186CF
tetradic
#CFC186 #86CF9D #8694CF #CF86B9
square
#CFC186 #86CF9D #8694CF #CF86B9
split-complementary
#CFC186 #86B9CF #9D86CF
monochromatic
#9D8A3E #BEAB5A #CFC186 #E0D7B2 #F2EEDE
Accessibility & contrast
On white
1.81
#CFC186 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.63
#CFC186 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC186
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC186 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC186 | 1.00 | 1.81 | 11.63 | 11.63 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBE82
Deuteranopia (green-blind)
#D0C388
Tritanopia (blue-blind)
#DAB9B2
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc186; /* rgb */ color: rgb(207, 193, 134); /* oklch */ color: oklch(80.9% 0.079 96.4);
Tailwind
colors: {
custom: {
50: '#ded3aa',
500: '#cfc186',
950: '#000000',
},
}SCSS
$custom: #cfc186; $custom-light: #ded3aa; $custom-dark: #000000;
JSON
{
"hex": "#cfc186",
"rgb": {
"r": 207,
"g": 193,
"b": 134
},
"hsl": {
"h": 48.493,
"s": 43.195,
"l": 66.863
},
"oklch": {
"l": 0.80864,
"c": 0.0787,
"h": 96.4
},
"luminance": 0.53127
}Semantic roles & 50–950 ramp
primary
#CFC186
secondary
#5765A2
accent
#49B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381