#CFC670#CFC670
#CFC670 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.108 H 103.2°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC670 |
|---|---|
| RGB | rgb(207, 198, 112) |
| HSL | hsl(54, 50%, 63%) |
| HSV | hsv(54, 46%, 81%) |
| CMYK | cmyk(0%, 4.3%, 45.9%, 18.8%) |
| CIE-LAB | lab(78.94, -8.71, 44.00) |
| CIE-LCH | lch(78.94, 44.86, 101.20°) |
| OKLab | oklab(81.54% -0.0248 0.1056) |
| OKLCH | oklch(81.54% 0.108 103.2) |
| XYZ | xyz(48.8520, 54.8249, 23.3350) |
| Luminance | 0.5482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.36
Sand (survey)
#E2CA76
ΔE00 4.70
Greenish Beige
#C9D179
ΔE00 4.97
Greenish Tan
#BCCB7A
ΔE00 6.64
Sandy
#F1DA7A
ΔE00 6.70
Khaki (CSS)
#F0E68C
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC670 #7079CF
analogous
#CF9770 #CFC670 #A8CF70
triadic
#CFC670 #70CFC6 #C670CF
tetradic
#CFC670 #70CF97 #7079CF #CF70A8
square
#CFC670 #70CF97 #7079CF #CF70A8
split-complementary
#CFC670 #70A8CF #9770CF
monochromatic
#938A31 #C0B442 #CFC670 #DED89E #EEEBCC
Accessibility & contrast
On white
1.76
#CFC670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.96
#CFC670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC670
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC670 | 1.00 | 1.76 | 11.96 | 11.96 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C169
Deuteranopia (green-blind)
#D7C674
Tritanopia (blue-blind)
#DBBCB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc670; /* rgb */ color: rgb(207, 198, 112); /* oklch */ color: oklch(81.5% 0.108 103.2);
Tailwind
colors: {
custom: {
50: '#dfd79b',
500: '#cfc670',
950: '#000000',
},
}SCSS
$custom: #cfc670; $custom-light: #dfd79b; $custom-dark: #000000;
JSON
{
"hex": "#cfc670",
"rgb": {
"r": 207,
"g": 198,
"b": 112
},
"hsl": {
"h": 54.316,
"s": 49.738,
"l": 62.549
},
"oklch": {
"l": 0.81543,
"c": 0.10844,
"h": 103.2
},
"luminance": 0.54823
}Semantic roles & 50–950 ramp
primary
#CFC670
secondary
#4A5299
accent
#37BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F