#CFC76C#CFC76C
#CFC76C is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.114 H 104.1°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC76C |
|---|---|
| RGB | rgb(207, 199, 108) |
| HSL | hsl(55, 51%, 62%) |
| HSV | hsv(55, 48%, 81%) |
| CMYK | cmyk(0%, 3.9%, 47.8%, 18.8%) |
| CIE-LAB | lab(79.15, -9.60, 46.23) |
| CIE-LCH | lch(79.15, 47.22, 101.73°) |
| OKLab | oklab(81.7% -0.0278 0.1102) |
| OKLCH | oklch(81.7% 0.114 104.1) |
| XYZ | xyz(48.8635, 55.1964, 22.2645) |
| Luminance | 0.5520 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.75
Darkkhaki
#BDB76B
ΔE00 4.79
Sand (survey)
#E2CA76
ΔE00 5.03
Greenish Tan
#BCCB7A
ΔE00 6.60
Sandy
#F1DA7A
ΔE00 6.63
Khaki (CSS)
#F0E68C
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC76C #6C74CF
analogous
#CF966C #CFC76C #A5CF6C
triadic
#CFC76C #6CCFC7 #C76CCF
tetradic
#CFC76C #6CCF96 #6C74CF #CF6CA5
square
#CFC76C #6CCF96 #6C74CF #CF6CA5
split-complementary
#CFC76C #6CA5CF #966CCF
monochromatic
#91892F #BFB53E #CFC76C #DED99A #EDEAC8
Accessibility & contrast
On white
1.74
#CFC76C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.04
#CFC76C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC76C
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC76C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC76C | 1.00 | 1.74 | 12.04 | 12.04 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C164
Deuteranopia (green-blind)
#D8C670
Tritanopia (blue-blind)
#DCBCB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc76c; /* rgb */ color: rgb(207, 199, 108); /* oklch */ color: oklch(81.7% 0.114 104.1);
Tailwind
colors: {
custom: {
50: '#dfd798',
500: '#cfc76c',
950: '#000000',
},
}SCSS
$custom: #cfc76c; $custom-light: #dfd798; $custom-dark: #000000;
JSON
{
"hex": "#cfc76c",
"rgb": {
"r": 207,
"g": 199,
"b": 108
},
"hsl": {
"h": 55.152,
"s": 50.769,
"l": 61.765
},
"oklch": {
"l": 0.81696,
"c": 0.11365,
"h": 104.1
},
"luminance": 0.55195
}Semantic roles & 50–950 ramp
primary
#CFC76C
secondary
#484E97
accent
#34BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F