#CFC86C#CFC86C
#CFC86C is a light, moderate yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.115 H 104.8°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC86C |
|---|---|
| RGB | rgb(207, 200, 108) |
| HSL | hsl(56, 51%, 62%) |
| HSV | hsv(56, 48%, 81%) |
| CMYK | cmyk(0%, 3.4%, 47.8%, 18.8%) |
| CIE-LAB | lab(79.42, -10.11, 46.55) |
| CIE-LCH | lch(79.42, 47.64, 102.26°) |
| OKLab | oklab(81.91% -0.0292 0.1109) |
| OKLCH | oklch(81.91% 0.115 104.8) |
| XYZ | xyz(49.0944, 55.6581, 22.3414) |
| Luminance | 0.5566 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.46
Darkkhaki
#BDB76B
ΔE00 5.00
Sand (survey)
#E2CA76
ΔE00 5.27
Greenish Tan
#BCCB7A
ΔE00 6.40
Sandy
#F1DA7A
ΔE00 6.65
Khaki (CSS)
#F0E68C
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC86C #6C73CF
analogous
#CF976C #CFC86C #A4CF6C
triadic
#CFC86C #6CCFC8 #C86CCF
tetradic
#CFC86C #6CCF97 #6C73CF #CF6CA4
square
#CFC86C #6CCF97 #6C73CF #CF6CA4
split-complementary
#CFC86C #6CA4CF #976CCF
monochromatic
#918A2F #BFB63E #CFC86C #DED99A #EDEBC8
Accessibility & contrast
On white
1.73
#CFC86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.13
#CFC86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC86C
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC86C | 1.00 | 1.73 | 12.13 | 12.13 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C264
Deuteranopia (green-blind)
#D9C770
Tritanopia (blue-blind)
#DCBDB2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc86c; /* rgb */ color: rgb(207, 200, 108); /* oklch */ color: oklch(81.9% 0.115 104.8);
Tailwind
colors: {
custom: {
50: '#dfd898',
500: '#cfc86c',
950: '#000000',
},
}SCSS
$custom: #cfc86c; $custom-light: #dfd898; $custom-dark: #000000;
JSON
{
"hex": "#cfc86c",
"rgb": {
"r": 207,
"g": 200,
"b": 108
},
"hsl": {
"h": 55.758,
"s": 50.769,
"l": 61.765
},
"oklch": {
"l": 0.81906,
"c": 0.1147,
"h": 104.8
},
"luminance": 0.55657
}Semantic roles & 50–950 ramp
primary
#CFC86C
secondary
#484E97
accent
#32BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F