#CFC976#CFC976
#CFC976 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.3% C 0.105 H 104.9°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC976 |
|---|---|
| RGB | rgb(207, 201, 118) |
| HSL | hsl(56, 48%, 64%) |
| HSV | hsv(56, 43%, 81%) |
| CMYK | cmyk(0%, 2.9%, 43%, 18.8%) |
| CIE-LAB | lab(79.81, -9.65, 42.10) |
| CIE-LCH | lch(79.81, 43.19, 102.91°) |
| OKLab | oklab(82.26% -0.027 0.1017) |
| OKLCH | oklch(82.26% 0.105 104.9) |
| XYZ | xyz(49.8898, 56.3480, 25.3842) |
| Luminance | 0.5635 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.95
Darkkhaki
#BDB76B
ΔE00 4.73
Sand (survey)
#E2CA76
ΔE00 5.32
Greenish Tan
#BCCB7A
ΔE00 5.69
Sandy
#F1DA7A
ΔE00 6.89
Khaki (CSS)
#F0E68C
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC976 #767CCF
analogous
#CF9C76 #CFC976 #A8CF76
triadic
#CFC976 #76CFC9 #C976CF
tetradic
#CFC976 #76CF9C #767CCF #CF76A8
square
#CFC976 #76CF9C #767CCF #CF76A8
split-complementary
#CFC976 #76A8CF #9C76CF
monochromatic
#968F35 #BFB749 #CFC976 #DFDBA3 #EFEDD1
Accessibility & contrast
On white
1.71
#CFC976 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.27
#CFC976 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC976
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC976 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC976 | 1.00 | 1.71 | 12.27 | 12.27 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C36F
Deuteranopia (green-blind)
#D9C87A
Tritanopia (blue-blind)
#DBBFB5
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #cfc976; /* rgb */ color: rgb(207, 201, 118); /* oklch */ color: oklch(82.3% 0.105 104.9);
Tailwind
colors: {
custom: {
50: '#dfd99f',
500: '#cfc976',
950: '#000000',
},
}SCSS
$custom: #cfc976; $custom-light: #dfd99f; $custom-dark: #000000;
JSON
{
"hex": "#cfc976",
"rgb": {
"r": 207,
"g": 201,
"b": 118
},
"hsl": {
"h": 55.955,
"s": 48.108,
"l": 63.725
},
"oklch": {
"l": 0.8226,
"c": 0.10522,
"h": 104.9
},
"luminance": 0.56347
}Semantic roles & 50–950 ramp
primary
#CFC976
secondary
#4D539C
accent
#34BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F