#CFC876#CFC876
#CFC876 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.104 H 104.2°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC876 |
|---|---|
| RGB | rgb(207, 200, 118) |
| HSL | hsl(55, 48%, 64%) |
| HSV | hsv(55, 43%, 81%) |
| CMYK | cmyk(0%, 3.4%, 43%, 18.8%) |
| CIE-LAB | lab(79.55, -9.14, 41.77) |
| CIE-LCH | lch(79.55, 42.76, 102.34°) |
| OKLab | oklab(82.05% -0.0255 0.101) |
| OKLCH | oklch(82.05% 0.104 104.2) |
| XYZ | xyz(49.6574, 55.8833, 25.3068) |
| Luminance | 0.5588 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.30
Darkkhaki
#BDB76B
ΔE00 4.52
Sand (survey)
#E2CA76
ΔE00 5.09
Greenish Tan
#BCCB7A
ΔE00 5.94
Sandy
#F1DA7A
ΔE00 6.88
Khaki (CSS)
#F0E68C
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC876 #767DCF
analogous
#CF9B76 #CFC876 #A9CF76
triadic
#CFC876 #76CFC8 #C876CF
tetradic
#CFC876 #76CF9B #767DCF #CF76A9
square
#CFC876 #76CF9B #767DCF #CF76A9
split-complementary
#CFC876 #76A9CF #9B76CF
monochromatic
#968E35 #BFB649 #CFC876 #DFDAA3 #EFECD1
Accessibility & contrast
On white
1.72
#CFC876 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.18
#CFC876 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC876
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC876 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC876 | 1.00 | 1.72 | 12.18 | 12.18 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C36F
Deuteranopia (green-blind)
#D8C77A
Tritanopia (blue-blind)
#DBBEB4
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc876; /* rgb */ color: rgb(207, 200, 118); /* oklch */ color: oklch(82.0% 0.104 104.2);
Tailwind
colors: {
custom: {
50: '#dfd89f',
500: '#cfc876',
950: '#000000',
},
}SCSS
$custom: #cfc876; $custom-light: #dfd89f; $custom-dark: #000000;
JSON
{
"hex": "#cfc876",
"rgb": {
"r": 207,
"g": 200,
"b": 118
},
"hsl": {
"h": 55.281,
"s": 48.108,
"l": 63.725
},
"oklch": {
"l": 0.8205,
"c": 0.10413,
"h": 104.2
},
"luminance": 0.55882
}Semantic roles & 50–950 ramp
primary
#CFC876
secondary
#4D549C
accent
#36BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F