#CFC577#CFC577
#CFC577 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.100 H 102.0°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC577 |
|---|---|
| RGB | rgb(207, 197, 119) |
| HSL | hsl(53, 48%, 64%) |
| HSV | hsv(53, 43%, 81%) |
| CMYK | cmyk(0%, 4.8%, 42.5%, 18.8%) |
| CIE-LAB | lab(78.77, -7.50, 40.29) |
| CIE-LCH | lch(78.77, 40.98, 100.54°) |
| OKLab | oklab(81.44% -0.0207 0.0977) |
| OKLCH | oklch(81.44% 0.1 102) |
| XYZ | xyz(49.0292, 54.5312, 25.3921) |
| Luminance | 0.5453 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.03
Sand (survey)
#E2CA76
ΔE00 4.53
Greenish Beige
#C9D179
ΔE00 5.42
Greenish Tan
#BCCB7A
ΔE00 6.77
Sandy
#F1DA7A
ΔE00 7.02
Sand
#C2B280
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC577 #7781CF
analogous
#CF9977 #CFC577 #ADCF77
triadic
#CFC577 #77CFC5 #C577CF
tetradic
#CFC577 #77CF99 #7781CF #CF77AD
square
#CFC577 #77CF99 #7781CF #CF77AD
split-complementary
#CFC577 #77ADCF #9977CF
monochromatic
#968B35 #BFB24A #CFC577 #DFD8A4 #EFECD1
Accessibility & contrast
On white
1.76
#CFC577 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.91
#CFC577 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC577
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC577 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC577 | 1.00 | 1.76 | 11.91 | 11.91 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C071
Deuteranopia (green-blind)
#D5C57A
Tritanopia (blue-blind)
#DBBBB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc577; /* rgb */ color: rgb(207, 197, 119); /* oklch */ color: oklch(81.4% 0.100 102.0);
Tailwind
colors: {
custom: {
50: '#dfd69f',
500: '#cfc577',
950: '#000000',
},
}SCSS
$custom: #cfc577; $custom-light: #dfd69f; $custom-dark: #000000;
JSON
{
"hex": "#cfc577",
"rgb": {
"r": 207,
"g": 197,
"b": 119
},
"hsl": {
"h": 53.182,
"s": 47.826,
"l": 63.922
},
"oklch": {
"l": 0.81439,
"c": 0.09986,
"h": 102
},
"luminance": 0.5453
}Semantic roles & 50–950 ramp
primary
#CFC577
secondary
#4E579C
accent
#3BBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380