#CFC176#CFC176
#CFC176 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.097 H 99.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC176 |
|---|---|
| RGB | rgb(207, 193, 118) |
| HSL | hsl(51, 48%, 64%) |
| HSV | hsv(51, 43%, 81%) |
| CMYK | cmyk(0%, 6.8%, 43%, 18.8%) |
| CIE-LAB | lab(77.71, -5.53, 39.46) |
| CIE-LCH | lch(77.71, 39.84, 97.98°) |
| OKLab | oklab(80.59% -0.0151 0.0958) |
| OKLCH | oklch(80.59% 0.097 99) |
| XYZ | xyz(48.0732, 52.7149, 24.7787) |
| Luminance | 0.5271 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.88
Sand (survey)
#E2CA76
ΔE00 4.10
Sand
#C2B280
ΔE00 6.30
Tan (survey)
#D1B26F
ΔE00 6.48
Desert
#CCAD60
ΔE00 6.89
Greenish Beige
#C9D179
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC176 #7684CF
analogous
#CF9476 #CFC176 #B0CF76
triadic
#CFC176 #76CFC1 #C176CF
tetradic
#CFC176 #76CF94 #7684CF #CF76B0
square
#CFC176 #76CF94 #7684CF #CF76B0
split-complementary
#CFC176 #76B0CF #9476CF
monochromatic
#968735 #BFAC49 #CFC176 #DFD6A3 #EFEAD1
Accessibility & contrast
On white
1.82
#CFC176 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.54
#CFC176 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC176
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC176 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC176 | 1.00 | 1.82 | 11.54 | 11.54 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBD70
Deuteranopia (green-blind)
#D2C279
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc176; /* rgb */ color: rgb(207, 193, 118); /* oklch */ color: oklch(80.6% 0.097 99.0);
Tailwind
colors: {
custom: {
50: '#dfd39e',
500: '#cfc176',
950: '#000000',
},
}SCSS
$custom: #cfc176; $custom-light: #dfd39e; $custom-dark: #000000;
JSON
{
"hex": "#cfc176",
"rgb": {
"r": 207,
"g": 193,
"b": 118
},
"hsl": {
"h": 50.562,
"s": 48.108,
"l": 63.725
},
"oklch": {
"l": 0.80591,
"c": 0.09693,
"h": 99
},
"luminance": 0.52713
}Semantic roles & 50–950 ramp
primary
#CFC176
secondary
#4D5A9C
accent
#41BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F