#CFC073#CFC073
#CFC073 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.099 H 98.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC073 |
|---|---|
| RGB | rgb(207, 192, 115) |
| HSL | hsl(50, 49%, 63%) |
| HSV | hsv(50, 44%, 81%) |
| CMYK | cmyk(0%, 7.2%, 44.4%, 18.8%) |
| CIE-LAB | lab(77.40, -5.32, 40.59) |
| CIE-LCH | lch(77.40, 40.94, 97.47°) |
| OKLab | oklab(80.34% -0.0148 0.0981) |
| OKLCH | oklch(80.34% 0.099 98.6) |
| XYZ | xyz(47.6775, 52.2041, 23.7813) |
| Luminance | 0.5220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.89
Sand (survey)
#E2CA76
ΔE00 3.96
Tan (survey)
#D1B26F
ΔE00 6.26
Sand
#C2B280
ΔE00 6.42
Desert
#CCAD60
ΔE00 6.53
Sandstone
#C9AE74
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC073 #7382CF
analogous
#CF9273 #CFC073 #B0CF73
triadic
#CFC073 #73CFC0 #C073CF
tetradic
#CFC073 #73CF92 #7382CF #CF73B0
square
#CFC073 #73CF92 #7382CF #CF73B0
split-complementary
#CFC073 #73B0CF #9273CF
monochromatic
#958533 #BFAB45 #CFC073 #DFD5A1 #EEE9CE
Accessibility & contrast
On white
1.84
#CFC073 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.44
#CFC073 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC073
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC073 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC073 | 1.00 | 1.84 | 11.44 | 11.44 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBC6D
Deuteranopia (green-blind)
#D2C276
Tritanopia (blue-blind)
#DCB6AD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc073; /* rgb */ color: rgb(207, 192, 115); /* oklch */ color: oklch(80.3% 0.099 98.6);
Tailwind
colors: {
custom: {
50: '#dfd29c',
500: '#cfc073',
950: '#000000',
},
}SCSS
$custom: #cfc073; $custom-light: #dfd29c; $custom-dark: #000000;
JSON
{
"hex": "#cfc073",
"rgb": {
"r": 207,
"g": 192,
"b": 115
},
"hsl": {
"h": 50.217,
"s": 48.936,
"l": 63.137
},
"oklch": {
"l": 0.80337,
"c": 0.09925,
"h": 98.6
},
"luminance": 0.52202
}Semantic roles & 50–950 ramp
primary
#CFC073
secondary
#4C599B
accent
#41BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F