#CFC779#CFC779
#CFC779 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.100 H 103.3°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC779 |
|---|---|
| RGB | rgb(207, 199, 121) |
| HSL | hsl(54, 47%, 64%) |
| HSV | hsv(54, 42%, 81%) |
| CMYK | cmyk(0%, 3.9%, 41.5%, 18.8%) |
| CIE-LAB | lab(79.33, -8.31, 39.98) |
| CIE-LCH | lch(79.33, 40.84, 101.75°) |
| OKLab | oklab(81.89% -0.0229 0.0971) |
| OKLCH | oklch(81.89% 0.1 103.3) |
| XYZ | xyz(49.6077, 55.4941, 26.1837) |
| Luminance | 0.5549 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.30
Greenish Beige
#C9D179
ΔE00 4.75
Sand (survey)
#E2CA76
ΔE00 4.93
Greenish Tan
#BCCB7A
ΔE00 6.17
Sandy
#F1DA7A
ΔE00 7.04
Pale Olive
#B9CC81
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC779 #7981CF
analogous
#CF9C79 #CFC779 #ACCF79
triadic
#CFC779 #79CFC7 #C779CF
tetradic
#CFC779 #79CF9C #7981CF #CF79AC
square
#CFC779 #79CF9C #7981CF #CF79AC
split-complementary
#CFC779 #79ACCF #9C79CF
monochromatic
#978E36 #BFB44C #CFC779 #DFDAA6 #EFEDD3
Accessibility & contrast
On white
1.74
#CFC779 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.10
#CFC779 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC779
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC779 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC779 | 1.00 | 1.74 | 12.10 | 12.10 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#D7C67C
Tritanopia (blue-blind)
#DBBDB4
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc779; /* rgb */ color: rgb(207, 199, 121); /* oklch */ color: oklch(81.9% 0.100 103.3);
Tailwind
colors: {
custom: {
50: '#dfd7a1',
500: '#cfc779',
950: '#000000',
},
}SCSS
$custom: #cfc779; $custom-light: #dfd7a1; $custom-dark: #000000;
JSON
{
"hex": "#cfc779",
"rgb": {
"r": 207,
"g": 199,
"b": 121
},
"hsl": {
"h": 54.419,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.81887,
"c": 0.09976,
"h": 103.3
},
"luminance": 0.55493
}Semantic roles & 50–950 ramp
primary
#CFC779
secondary
#4F569D
accent
#38BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380