#CFC776#CFC776
#CFC776 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.103 H 103.5°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC776 |
|---|---|
| RGB | rgb(207, 199, 118) |
| HSL | hsl(55, 48%, 64%) |
| HSV | hsv(55, 43%, 81%) |
| CMYK | cmyk(0%, 3.9%, 43%, 18.8%) |
| CIE-LAB | lab(79.28, -8.63, 41.44) |
| CIE-LCH | lch(79.28, 42.33, 101.76°) |
| OKLab | oklab(81.84% -0.024 0.1002) |
| OKLCH | oklch(81.84% 0.103 103.5) |
| XYZ | xyz(49.4266, 55.4216, 25.2298) |
| Luminance | 0.5542 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.33
Greenish Beige
#C9D179
ΔE00 4.65
Sand (survey)
#E2CA76
ΔE00 4.88
Greenish Tan
#BCCB7A
ΔE00 6.20
Sandy
#F1DA7A
ΔE00 6.89
Khaki (CSS)
#F0E68C
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC776 #767ECF
analogous
#CF9A76 #CFC776 #AACF76
triadic
#CFC776 #76CFC7 #C776CF
tetradic
#CFC776 #76CF9A #767ECF #CF76AA
square
#CFC776 #76CF9A #767ECF #CF76AA
split-complementary
#CFC776 #76AACF #9A76CF
monochromatic
#968D35 #BFB449 #CFC776 #DFDAA3 #EFECD1
Accessibility & contrast
On white
1.74
#CFC776 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.08
#CFC776 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC776
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC776 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC776 | 1.00 | 1.74 | 12.08 | 12.08 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C270
Deuteranopia (green-blind)
#D7C679
Tritanopia (blue-blind)
#DBBDB3
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc776; /* rgb */ color: rgb(207, 199, 118); /* oklch */ color: oklch(81.8% 0.103 103.5);
Tailwind
colors: {
custom: {
50: '#dfd79f',
500: '#cfc776',
950: '#000000',
},
}SCSS
$custom: #cfc776; $custom-light: #dfd79f; $custom-dark: #000000;
JSON
{
"hex": "#cfc776",
"rgb": {
"r": 207,
"g": 199,
"b": 118
},
"hsl": {
"h": 54.607,
"s": 48.108,
"l": 63.725
},
"oklch": {
"l": 0.81841,
"c": 0.10306,
"h": 103.5
},
"luminance": 0.5542
}Semantic roles & 50–950 ramp
primary
#CFC776
secondary
#4D549C
accent
#37BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F