#CFC177#CFC177
#CFC177 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.096 H 98.8°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC177 |
|---|---|
| RGB | rgb(207, 193, 119) |
| HSL | hsl(50, 48%, 64%) |
| HSV | hsv(50, 43%, 81%) |
| CMYK | cmyk(0%, 6.8%, 42.5%, 18.8%) |
| CIE-LAB | lab(77.72, -5.43, 38.97) |
| CIE-LCH | lch(77.72, 39.34, 97.93°) |
| OKLab | oklab(80.61% -0.0147 0.0947) |
| OKLCH | oklch(80.61% 0.096 98.8) |
| XYZ | xyz(48.1330, 52.7388, 25.0933) |
| Luminance | 0.5274 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.91
Sand (survey)
#E2CA76
ΔE00 4.15
Sand
#C2B280
ΔE00 6.16
Tan (survey)
#D1B26F
ΔE00 6.43
Desert
#CCAD60
ΔE00 6.89
Greenish Beige
#C9D179
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC177 #7785CF
analogous
#CF9577 #CFC177 #B1CF77
triadic
#CFC177 #77CFC1 #C177CF
tetradic
#CFC177 #77CF95 #7785CF #CF77B1
square
#CFC177 #77CF95 #7785CF #CF77B1
split-complementary
#CFC177 #77B1CF #9577CF
monochromatic
#968735 #BFAC4A #CFC177 #DFD6A4 #EFEAD1
Accessibility & contrast
On white
1.82
#CFC177 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.55
#CFC177 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC177
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC177 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC177 | 1.00 | 1.82 | 11.55 | 11.55 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBD71
Deuteranopia (green-blind)
#D2C27A
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc177; /* rgb */ color: rgb(207, 193, 119); /* oklch */ color: oklch(80.6% 0.096 98.8);
Tailwind
colors: {
custom: {
50: '#dfd39f',
500: '#cfc177',
950: '#000000',
},
}SCSS
$custom: #cfc177; $custom-light: #dfd39f; $custom-dark: #000000;
JSON
{
"hex": "#cfc177",
"rgb": {
"r": 207,
"g": 193,
"b": 119
},
"hsl": {
"h": 50.455,
"s": 47.826,
"l": 63.922
},
"oklch": {
"l": 0.80607,
"c": 0.09583,
"h": 98.8
},
"luminance": 0.52737
}Semantic roles & 50–950 ramp
primary
#CFC177
secondary
#4E5A9C
accent
#41BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F