#CFC079#CFC079
#CFC079 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.093 H 97.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC079 |
|---|---|
| RGB | rgb(207, 192, 121) |
| HSL | hsl(50, 47%, 64%) |
| HSV | hsv(50, 42%, 81%) |
| CMYK | cmyk(0%, 7.2%, 41.5%, 18.8%) |
| CIE-LAB | lab(77.49, -4.70, 37.65) |
| CIE-LCH | lch(77.49, 37.94, 97.11°) |
| OKLab | oklab(80.43% -0.0124 0.0918) |
| OKLCH | oklch(80.43% 0.093 97.7) |
| XYZ | xyz(48.0340, 52.3467, 25.6591) |
| Luminance | 0.5234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.09
Sand (survey)
#E2CA76
ΔE00 4.29
Sand
#C2B280
ΔE00 5.57
Tan (survey)
#D1B26F
ΔE00 5.93
Sandstone
#C9AE74
ΔE00 6.43
Desert
#CCAD60
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC079 #7988CF
analogous
#CF9579 #CFC079 #B3CF79
triadic
#CFC079 #79CFC0 #C079CF
tetradic
#CFC079 #79CF95 #7988CF #CF79B3
square
#CFC079 #79CF95 #7988CF #CF79B3
split-complementary
#CFC079 #79B3CF #9579CF
monochromatic
#978636 #BFAB4C #CFC079 #DFD5A6 #EFEAD3
Accessibility & contrast
On white
1.83
#CFC079 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#CFC079 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC079
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC079 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC079 | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBC74
Deuteranopia (green-blind)
#D1C27C
Tritanopia (blue-blind)
#DBB6AE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc079; /* rgb */ color: rgb(207, 192, 121); /* oklch */ color: oklch(80.4% 0.093 97.7);
Tailwind
colors: {
custom: {
50: '#dfd2a0',
500: '#cfc079',
950: '#000000',
},
}SCSS
$custom: #cfc079; $custom-light: #dfd2a0; $custom-dark: #000000;
JSON
{
"hex": "#cfc079",
"rgb": {
"r": 207,
"g": 192,
"b": 121
},
"hsl": {
"h": 49.535,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.80432,
"c": 0.09265,
"h": 97.7
},
"luminance": 0.52345
}Semantic roles & 50–950 ramp
primary
#CFC079
secondary
#4F5D9D
accent
#44BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380