#CFC770#CFC770
#CFC770 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.109 H 103.9°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC770 |
|---|---|
| RGB | rgb(207, 199, 112) |
| HSL | hsl(55, 50%, 63%) |
| HSV | hsv(55, 46%, 81%) |
| CMYK | cmyk(0%, 3.9%, 45.9%, 18.8%) |
| CIE-LAB | lab(79.20, -9.22, 44.33) |
| CIE-LCH | lch(79.20, 45.28, 101.75°) |
| OKLab | oklab(81.75% -0.0263 0.1063) |
| OKLCH | oklch(81.75% 0.109 103.9) |
| XYZ | xyz(49.0813, 55.2835, 23.4114) |
| Luminance | 0.5528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.55
Greenish Beige
#C9D179
ΔE00 4.64
Sand (survey)
#E2CA76
ΔE00 4.92
Greenish Tan
#BCCB7A
ΔE00 6.40
Sandy
#F1DA7A
ΔE00 6.69
Khaki (CSS)
#F0E68C
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC770 #7078CF
analogous
#CF9770 #CFC770 #A8CF70
triadic
#CFC770 #70CFC7 #C770CF
tetradic
#CFC770 #70CF97 #7078CF #CF70A8
square
#CFC770 #70CF97 #7078CF #CF70A8
split-complementary
#CFC770 #70A8CF #9770CF
monochromatic
#938B31 #C0B542 #CFC770 #DED99E #EEEBCC
Accessibility & contrast
On white
1.74
#CFC770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.06
#CFC770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC770
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC770 | 1.00 | 1.74 | 12.06 | 12.06 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C269
Deuteranopia (green-blind)
#D8C674
Tritanopia (blue-blind)
#DBBDB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc770; /* rgb */ color: rgb(207, 199, 112); /* oklch */ color: oklch(81.8% 0.109 103.9);
Tailwind
colors: {
custom: {
50: '#dfd79b',
500: '#cfc770',
950: '#000000',
},
}SCSS
$custom: #cfc770; $custom-light: #dfd79b; $custom-dark: #000000;
JSON
{
"hex": "#cfc770",
"rgb": {
"r": 207,
"g": 199,
"b": 112
},
"hsl": {
"h": 54.947,
"s": 49.738,
"l": 62.549
},
"oklch": {
"l": 0.81752,
"c": 0.10949,
"h": 103.9
},
"luminance": 0.55282
}Semantic roles & 50–950 ramp
primary
#CFC770
secondary
#4A5199
accent
#35BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F