#CFC573#CFC573
#CFC573 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.104 H 102.3°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC573 |
|---|---|
| RGB | rgb(207, 197, 115) |
| HSL | hsl(53, 49%, 63%) |
| HSV | hsv(53, 44%, 81%) |
| CMYK | cmyk(0%, 4.8%, 44.4%, 18.8%) |
| CIE-LAB | lab(78.72, -7.90, 42.23) |
| CIE-LCH | lch(78.72, 42.97, 100.60°) |
| OKLab | oklab(81.38% -0.0222 0.1018) |
| OKLCH | oklch(81.38% 0.104 102.3) |
| XYZ | xyz(48.7940, 54.4372, 24.1534) |
| Luminance | 0.5444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.09
Sand (survey)
#E2CA76
ΔE00 4.48
Greenish Beige
#C9D179
ΔE00 5.32
Greenish Tan
#BCCB7A
ΔE00 6.82
Sandy
#F1DA7A
ΔE00 6.83
Khaki (CSS)
#F0E68C
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC573 #737DCF
analogous
#CF9773 #CFC573 #ABCF73
triadic
#CFC573 #73CFC5 #C573CF
tetradic
#CFC573 #73CF97 #737DCF #CF73AB
square
#CFC573 #73CF97 #737DCF #CF73AB
split-complementary
#CFC573 #73ABCF #9773CF
monochromatic
#958A33 #BFB245 #CFC573 #DFD8A1 #EEEBCE
Accessibility & contrast
On white
1.77
#CFC573 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.89
#CFC573 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC573
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC573 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC573 | 1.00 | 1.77 | 11.89 | 11.89 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C06C
Deuteranopia (green-blind)
#D6C576
Tritanopia (blue-blind)
#DBBBB1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc573; /* rgb */ color: rgb(207, 197, 115); /* oklch */ color: oklch(81.4% 0.104 102.3);
Tailwind
colors: {
custom: {
50: '#dfd69d',
500: '#cfc573',
950: '#000000',
},
}SCSS
$custom: #cfc573; $custom-light: #dfd69d; $custom-dark: #000000;
JSON
{
"hex": "#cfc573",
"rgb": {
"r": 207,
"g": 197,
"b": 115
},
"hsl": {
"h": 53.478,
"s": 48.936,
"l": 63.137
},
"oklch": {
"l": 0.81378,
"c": 0.10421,
"h": 102.3
},
"luminance": 0.54436
}Semantic roles & 50–950 ramp
primary
#CFC573
secondary
#4C549B
accent
#39BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F