#CFC667#CFC667
#CFC667 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.118 H 103.8°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC667 |
|---|---|
| RGB | rgb(207, 198, 103) |
| HSL | hsl(55, 52%, 61%) |
| HSV | hsv(55, 50%, 81%) |
| CMYK | cmyk(0%, 4.3%, 50.2%, 18.8%) |
| CIE-LAB | lab(78.83, -9.54, 48.27) |
| CIE-LCH | lch(78.83, 49.20, 101.18°) |
| OKLab | oklab(81.42% -0.0281 0.1143) |
| OKLCH | oklch(81.42% 0.118 103.8) |
| XYZ | xyz(48.3757, 54.6343, 20.8266) |
| Luminance | 0.5463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.98
Sand (survey)
#E2CA76
ΔE00 5.04
Greenish Beige
#C9D179
ΔE00 5.26
Sandy
#F1DA7A
ΔE00 6.62
Greenish Tan
#BCCB7A
ΔE00 7.13
Dull Yellow
#EEDC5B
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC667 #6770CF
analogous
#CF9267 #CFC667 #A4CF67
triadic
#CFC667 #67CFC6 #C667CF
tetradic
#CFC667 #67CF92 #6770CF #CF67A4
square
#CFC667 #67CF92 #6770CF #CF67A4
split-complementary
#CFC667 #67A4CF #9267CF
monochromatic
#8F862D #BDB23C #CFC667 #DED796 #ECE9C4
Accessibility & contrast
On white
1.76
#CFC667 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#CFC667 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC667
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC667 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC667 | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C05E
Deuteranopia (green-blind)
#D8C56B
Tritanopia (blue-blind)
#DCBBB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc667; /* rgb */ color: rgb(207, 198, 103); /* oklch */ color: oklch(81.4% 0.118 103.8);
Tailwind
colors: {
custom: {
50: '#e0d795',
500: '#cfc667',
950: '#000000',
},
}SCSS
$custom: #cfc667; $custom-light: #e0d795; $custom-dark: #000000;
JSON
{
"hex": "#cfc667",
"rgb": {
"r": 207,
"g": 198,
"b": 103
},
"hsl": {
"h": 54.808,
"s": 52,
"l": 60.784
},
"oklch": {
"l": 0.8142,
"c": 0.11766,
"h": 103.8
},
"luminance": 0.54633
}Semantic roles & 50–950 ramp
primary
#CFC667
secondary
#454C95
accent
#33BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F