#CFC86A#CFC86A
#CFC86A is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.117 H 104.9°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC86A |
|---|---|
| RGB | rgb(207, 200, 106) |
| HSL | hsl(56, 51%, 61%) |
| HSV | hsv(56, 49%, 81%) |
| CMYK | cmyk(0%, 3.4%, 48.8%, 18.8%) |
| CIE-LAB | lab(79.39, -10.30, 47.49) |
| CIE-LCH | lch(79.39, 48.60, 102.23°) |
| OKLab | oklab(81.88% -0.03 0.1128) |
| OKLCH | oklch(81.88% 0.117 104.9) |
| XYZ | xyz(48.9892, 55.6160, 21.7872) |
| Luminance | 0.5562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.56
Darkkhaki
#BDB76B
ΔE00 5.14
Sand (survey)
#E2CA76
ΔE00 5.35
Greenish Tan
#BCCB7A
ΔE00 6.53
Sandy
#F1DA7A
ΔE00 6.64
Khaki (CSS)
#F0E68C
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC86A #6A71CF
analogous
#CF966A #CFC86A #A4CF6A
triadic
#CFC86A #6ACFC8 #C86ACF
tetradic
#CFC86A #6ACF96 #6A71CF #CF6AA4
square
#CFC86A #6ACF96 #6A71CF #CF6AA4
split-complementary
#CFC86A #6AA4CF #966ACF
monochromatic
#90892E #BEB63D #CFC86A #DED998 #EDEAC7
Accessibility & contrast
On white
1.73
#CFC86A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.12
#CFC86A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC86A
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC86A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC86A | 1.00 | 1.73 | 12.12 | 12.12 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C262
Deuteranopia (green-blind)
#D9C76E
Tritanopia (blue-blind)
#DCBDB2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc86a; /* rgb */ color: rgb(207, 200, 106); /* oklch */ color: oklch(81.9% 0.117 104.9);
Tailwind
colors: {
custom: {
50: '#dfd897',
500: '#cfc86a',
950: '#000000',
},
}SCSS
$custom: #cfc86a; $custom-light: #dfd897; $custom-dark: #000000;
JSON
{
"hex": "#cfc86a",
"rgb": {
"r": 207,
"g": 200,
"b": 106
},
"hsl": {
"h": 55.842,
"s": 51.269,
"l": 61.373
},
"oklch": {
"l": 0.8188,
"c": 0.11673,
"h": 104.9
},
"luminance": 0.55615
}Semantic roles & 50–950 ramp
primary
#CFC86A
secondary
#474C96
accent
#31BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F