#CFC078#CFC078
#CFC078 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.094 H 97.9°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC078 |
|---|---|
| RGB | rgb(207, 192, 120) |
| HSL | hsl(50, 48%, 64%) |
| HSV | hsv(50, 42%, 81%) |
| CMYK | cmyk(0%, 7.2%, 42%, 18.8%) |
| CIE-LAB | lab(77.47, -4.80, 38.14) |
| CIE-LCH | lch(77.47, 38.44, 97.18°) |
| OKLab | oklab(80.42% -0.0128 0.0929) |
| OKLCH | oklch(80.42% 0.094 97.9) |
| XYZ | xyz(47.9730, 52.3223, 25.3378) |
| Luminance | 0.5232 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.03
Sand (survey)
#E2CA76
ΔE00 4.21
Sand
#C2B280
ΔE00 5.71
Tan (survey)
#D1B26F
ΔE00 5.98
Sandstone
#C9AE74
ΔE00 6.52
Desert
#CCAD60
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC078 #7887CF
analogous
#CF9578 #CFC078 #B3CF78
triadic
#CFC078 #78CFC0 #C078CF
tetradic
#CFC078 #78CF95 #7887CF #CF78B3
square
#CFC078 #78CF95 #7887CF #CF78B3
split-complementary
#CFC078 #78B3CF #9578CF
monochromatic
#978636 #BFAB4B #CFC078 #DFD5A5 #EFEAD2
Accessibility & contrast
On white
1.83
#CFC078 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#CFC078 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC078
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC078 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC078 | 1.00 | 1.83 | 11.46 | 11.46 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBC72
Deuteranopia (green-blind)
#D1C27B
Tritanopia (blue-blind)
#DBB6AE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc078; /* rgb */ color: rgb(207, 192, 120); /* oklch */ color: oklch(80.4% 0.094 97.9);
Tailwind
colors: {
custom: {
50: '#dfd2a0',
500: '#cfc078',
950: '#000000',
},
}SCSS
$custom: #cfc078; $custom-light: #dfd2a0; $custom-dark: #000000;
JSON
{
"hex": "#cfc078",
"rgb": {
"r": 207,
"g": 192,
"b": 120
},
"hsl": {
"h": 49.655,
"s": 47.541,
"l": 64.118
},
"oklch": {
"l": 0.80416,
"c": 0.09376,
"h": 97.9
},
"luminance": 0.52321
}Semantic roles & 50–950 ramp
primary
#CFC078
secondary
#4E5C9D
accent
#44BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380