#CFC076#CFC076
#CFC076 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.096 H 98.2°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC076 |
|---|---|
| RGB | rgb(207, 192, 118) |
| HSL | hsl(50, 48%, 64%) |
| HSV | hsv(50, 43%, 81%) |
| CMYK | cmyk(0%, 7.2%, 43%, 18.8%) |
| CIE-LAB | lab(77.44, -5.01, 39.13) |
| CIE-LCH | lch(77.44, 39.45, 97.30°) |
| OKLab | oklab(80.38% -0.0136 0.095) |
| OKLCH | oklch(80.38% 0.096 98.2) |
| XYZ | xyz(47.8529, 52.2743, 24.7053) |
| Luminance | 0.5227 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.95
Sand (survey)
#E2CA76
ΔE00 4.09
Sand
#C2B280
ΔE00 5.99
Tan (survey)
#D1B26F
ΔE00 6.08
Desert
#CCAD60
ΔE00 6.52
Sandstone
#C9AE74
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC076 #7685CF
analogous
#CF9376 #CFC076 #B1CF76
triadic
#CFC076 #76CFC0 #C076CF
tetradic
#CFC076 #76CF93 #7685CF #CF76B1
square
#CFC076 #76CF93 #7685CF #CF76B1
split-complementary
#CFC076 #76B1CF #9376CF
monochromatic
#968635 #BFAB49 #CFC076 #DFD5A3 #EFEAD1
Accessibility & contrast
On white
1.83
#CFC076 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#CFC076 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC076
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC076 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC076 | 1.00 | 1.83 | 11.45 | 11.45 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBC70
Deuteranopia (green-blind)
#D2C279
Tritanopia (blue-blind)
#DBB6AE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc076; /* rgb */ color: rgb(207, 192, 118); /* oklch */ color: oklch(80.4% 0.096 98.2);
Tailwind
colors: {
custom: {
50: '#dfd29e',
500: '#cfc076',
950: '#000000',
},
}SCSS
$custom: #cfc076; $custom-light: #dfd29e; $custom-dark: #000000;
JSON
{
"hex": "#cfc076",
"rgb": {
"r": 207,
"g": 192,
"b": 118
},
"hsl": {
"h": 49.888,
"s": 48.108,
"l": 63.725
},
"oklch": {
"l": 0.80384,
"c": 0.09597,
"h": 98.2
},
"luminance": 0.52273
}Semantic roles & 50–950 ramp
primary
#CFC076
secondary
#4D5B9C
accent
#43BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F