#CFC167#CFC167
#CFC167 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.113 H 100.6°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC167 |
|---|---|
| RGB | rgb(207, 193, 103) |
| HSL | hsl(52, 52%, 61%) |
| HSV | hsv(52, 50%, 81%) |
| CMYK | cmyk(0%, 6.8%, 50.2%, 18.8%) |
| CIE-LAB | lab(77.51, -6.97, 46.69) |
| CIE-LCH | lch(77.51, 47.20, 98.50°) |
| OKLab | oklab(80.37% -0.0207 0.1108) |
| OKLCH | oklch(80.37% 0.113 100.6) |
| XYZ | xyz(47.2517, 52.3863, 20.4519) |
| Luminance | 0.5239 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.19
Darkkhaki
#BDB76B
ΔE00 4.36
Greenish Beige
#C9D179
ΔE00 6.79
Sandy
#F1DA7A
ΔE00 6.86
Desert
#CCAD60
ΔE00 7.27
Tan (survey)
#D1B26F
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC167 #6775CF
analogous
#CF8D67 #CFC167 #A9CF67
triadic
#CFC167 #67CFC1 #C167CF
tetradic
#CFC167 #67CF8D #6775CF #CF67A9
square
#CFC167 #67CF8D #6775CF #CF67A9
split-complementary
#CFC167 #67A9CF #8D67CF
monochromatic
#8F812D #BDAC3C #CFC167 #DED496 #ECE7C4
Accessibility & contrast
On white
1.83
#CFC167 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#CFC167 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC167
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC167 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC167 | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC5F
Deuteranopia (green-blind)
#D4C26B
Tritanopia (blue-blind)
#DCB6AC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc167; /* rgb */ color: rgb(207, 193, 103); /* oklch */ color: oklch(80.4% 0.113 100.6);
Tailwind
colors: {
custom: {
50: '#e0d394',
500: '#cfc167',
950: '#000000',
},
}SCSS
$custom: #cfc167; $custom-light: #e0d394; $custom-dark: #000000;
JSON
{
"hex": "#cfc167",
"rgb": {
"r": 207,
"g": 193,
"b": 103
},
"hsl": {
"h": 51.923,
"s": 52,
"l": 60.784
},
"oklch": {
"l": 0.80373,
"c": 0.11271,
"h": 100.6
},
"luminance": 0.52385
}Semantic roles & 50–950 ramp
primary
#CFC167
secondary
#455095
accent
#3BBF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F