#CFC164#CFC164
#CFC164 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.116 H 100.9°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC164 |
|---|---|
| RGB | rgb(207, 193, 100) |
| HSL | hsl(52, 53%, 60%) |
| HSV | hsv(52, 52%, 81%) |
| CMYK | cmyk(0%, 6.8%, 51.7%, 18.8%) |
| CIE-LAB | lab(77.48, -7.24, 48.10) |
| CIE-LCH | lch(77.48, 48.64, 98.55°) |
| OKLab | oklab(80.33% -0.0218 0.1136) |
| OKLCH | oklch(80.33% 0.116 100.9) |
| XYZ | xyz(47.1038, 52.3271, 19.6730) |
| Luminance | 0.5232 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.35
Darkkhaki
#BDB76B
ΔE00 4.60
Sandy
#F1DA7A
ΔE00 6.86
Greenish Beige
#C9D179
ΔE00 6.88
Desert
#CCAD60
ΔE00 7.42
Olive Yellow
#C2B709
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC164 #6472CF
analogous
#CF8C64 #CFC164 #A7CF64
triadic
#CFC164 #64CFC1 #C164CF
tetradic
#CFC164 #64CF8C #6472CF #CF64A7
square
#CFC164 #64CF8C #6472CF #CF64A7
split-complementary
#CFC164 #64A7CF #8C64CF
monochromatic
#8D802C #BCAB3A #CFC164 #DDD493 #ECE6C1
Accessibility & contrast
On white
1.83
#CFC164 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#CFC164 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC164
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC164 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC164 | 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)
#D0BC5C
Deuteranopia (green-blind)
#D4C268
Tritanopia (blue-blind)
#DDB6AC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc164; /* rgb */ color: rgb(207, 193, 100); /* oklch */ color: oklch(80.3% 0.116 100.9);
Tailwind
colors: {
custom: {
50: '#e0d392',
500: '#cfc164',
950: '#000000',
},
}SCSS
$custom: #cfc164; $custom-light: #e0d392; $custom-dark: #000000;
JSON
{
"hex": "#cfc164",
"rgb": {
"r": 207,
"g": 193,
"b": 100
},
"hsl": {
"h": 52.15,
"s": 52.709,
"l": 60.196
},
"oklch": {
"l": 0.80334,
"c": 0.11569,
"h": 100.9
},
"luminance": 0.52325
}Semantic roles & 50–950 ramp
primary
#CFC164
secondary
#444E93
accent
#3AC025
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F