#CFC377#CFC377
#CFC377 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.098 H 100.4°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC377 |
|---|---|
| RGB | rgb(207, 195, 119) |
| HSL | hsl(52, 48%, 64%) |
| HSV | hsv(52, 43%, 81%) |
| CMYK | cmyk(0%, 5.8%, 42.5%, 18.8%) |
| CIE-LAB | lab(78.24, -6.46, 39.63) |
| CIE-LCH | lch(78.24, 40.15, 99.26°) |
| OKLab | oklab(81.02% -0.0177 0.0962) |
| OKLCH | oklch(81.02% 0.098 100.4) |
| XYZ | xyz(48.5781, 53.6290, 25.2417) |
| Luminance | 0.5363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.88
Sand (survey)
#E2CA76
ΔE00 4.27
Greenish Beige
#C9D179
ΔE00 6.19
Sand
#C2B280
ΔE00 6.79
Sandy
#F1DA7A
ΔE00 7.19
Tan (survey)
#D1B26F
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC377 #7783CF
analogous
#CF9777 #CFC377 #AFCF77
triadic
#CFC377 #77CFC3 #C377CF
tetradic
#CFC377 #77CF97 #7783CF #CF77AF
square
#CFC377 #77CF97 #7783CF #CF77AF
split-complementary
#CFC377 #77AFCF #9777CF
monochromatic
#968935 #BFAF4A #CFC377 #DFD7A4 #EFEBD1
Accessibility & contrast
On white
1.79
#CFC377 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#CFC377 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC377
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC377 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC377 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BF71
Deuteranopia (green-blind)
#D4C47A
Tritanopia (blue-blind)
#DBB9B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc377; /* rgb */ color: rgb(207, 195, 119); /* oklch */ color: oklch(81.0% 0.098 100.4);
Tailwind
colors: {
custom: {
50: '#dfd59f',
500: '#cfc377',
950: '#000000',
},
}SCSS
$custom: #cfc377; $custom-light: #dfd59f; $custom-dark: #000000;
JSON
{
"hex": "#cfc377",
"rgb": {
"r": 207,
"g": 195,
"b": 119
},
"hsl": {
"h": 51.818,
"s": 47.826,
"l": 63.922
},
"oklch": {
"l": 0.81022,
"c": 0.09781,
"h": 100.4
},
"luminance": 0.53628
}Semantic roles & 50–950 ramp
primary
#CFC377
secondary
#4E599C
accent
#3EBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F