#CFC86B#CFC86B
#CFC86B is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.116 H 104.8°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC86B |
|---|---|
| RGB | rgb(207, 200, 107) |
| HSL | hsl(56, 51%, 62%) |
| HSV | hsv(56, 48%, 81%) |
| CMYK | cmyk(0%, 3.4%, 48.3%, 18.8%) |
| CIE-LAB | lab(79.41, -10.20, 47.02) |
| CIE-LCH | lch(79.41, 48.12, 102.24°) |
| OKLab | oklab(81.89% -0.0296 0.1119) |
| OKLCH | oklch(81.89% 0.116 104.8) |
| XYZ | xyz(49.0415, 55.6369, 22.0627) |
| Luminance | 0.5564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.51
Darkkhaki
#BDB76B
ΔE00 5.07
Sand (survey)
#E2CA76
ΔE00 5.31
Greenish Tan
#BCCB7A
ΔE00 6.46
Sandy
#F1DA7A
ΔE00 6.64
Khaki (CSS)
#F0E68C
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC86B #6B72CF
analogous
#CF966B #CFC86B #A4CF6B
triadic
#CFC86B #6BCFC8 #C86BCF
tetradic
#CFC86B #6BCF96 #6B72CF #CF6BA4
square
#CFC86B #6BCF96 #6B72CF #CF6BA4
split-complementary
#CFC86B #6BA4CF #966BCF
monochromatic
#918A2F #BFB63E #CFC86B #DED999 #EDEAC7
Accessibility & contrast
On white
1.73
#CFC86B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.13
#CFC86B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC86B
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC86B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC86B | 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)
#D6C263
Deuteranopia (green-blind)
#D9C76F
Tritanopia (blue-blind)
#DCBDB2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc86b; /* rgb */ color: rgb(207, 200, 107); /* oklch */ color: oklch(81.9% 0.116 104.8);
Tailwind
colors: {
custom: {
50: '#dfd897',
500: '#cfc86b',
950: '#000000',
},
}SCSS
$custom: #cfc86b; $custom-light: #dfd897; $custom-dark: #000000;
JSON
{
"hex": "#cfc86b",
"rgb": {
"r": 207,
"g": 200,
"b": 107
},
"hsl": {
"h": 55.8,
"s": 51.02,
"l": 61.569
},
"oklch": {
"l": 0.81893,
"c": 0.11571,
"h": 104.8
},
"luminance": 0.55635
}Semantic roles & 50–950 ramp
primary
#CFC86B
secondary
#474D97
accent
#32BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F