#CFC160#CFC160
#CFC160 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.120 H 101.2°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC160 |
|---|---|
| RGB | rgb(207, 193, 96) |
| HSL | hsl(52, 54%, 59%) |
| HSV | hsv(52, 54%, 81%) |
| CMYK | cmyk(0%, 6.8%, 53.6%, 18.8%) |
| CIE-LAB | lab(77.43, -7.57, 49.96) |
| CIE-LCH | lch(77.43, 50.53, 98.62°) |
| OKLab | oklab(80.28% -0.0232 0.1173) |
| OKLCH | oklch(80.28% 0.12 101.2) |
| XYZ | xyz(46.9149, 52.2516, 18.6784) |
| Luminance | 0.5225 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.62
Darkkhaki
#BDB76B
ΔE00 4.95
Sandy
#F1DA7A
ΔE00 6.90
Greenish Beige
#C9D179
ΔE00 7.04
Olive Yellow
#C2B709
ΔE00 7.07
Mustard Yellow
#D2BD0A
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC160 #606ECF
analogous
#CF8960 #CFC160 #A6CF60
triadic
#CFC160 #60CFC1 #C160CF
tetradic
#CFC160 #60CF89 #606ECF #CF60A6
square
#CFC160 #60CF89 #606ECF #CF60A6
split-complementary
#CFC160 #60A6CF #8960CF
monochromatic
#8B7F2A #BAA938 #CFC160 #DDD38F #EBE6BE
Accessibility & contrast
On white
1.83
#CFC160 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#CFC160 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC160
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC160 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC160 | 1.00 | 1.83 | 11.45 | 11.45 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC57
Deuteranopia (green-blind)
#D4C265
Tritanopia (blue-blind)
#DDB5AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc160; /* rgb */ color: rgb(207, 193, 96); /* oklch */ color: oklch(80.3% 0.120 101.2);
Tailwind
colors: {
custom: {
50: '#e0d390',
500: '#cfc160',
950: '#000000',
},
}SCSS
$custom: #cfc160; $custom-light: #e0d390; $custom-dark: #000000;
JSON
{
"hex": "#cfc160",
"rgb": {
"r": 207,
"g": 193,
"b": 96
},
"hsl": {
"h": 52.432,
"s": 53.623,
"l": 59.412
},
"oklch": {
"l": 0.80284,
"c": 0.11955,
"h": 101.2
},
"luminance": 0.5225
}Semantic roles & 50–950 ramp
primary
#CFC160
secondary
#424C91
accent
#5DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F