#CFC161#CFC161
#CFC161 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.119 H 101.1°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC161 |
|---|---|
| RGB | rgb(207, 193, 97) |
| HSL | hsl(52, 53%, 60%) |
| HSV | hsv(52, 53%, 81%) |
| CMYK | cmyk(0%, 6.8%, 53.1%, 18.8%) |
| CIE-LAB | lab(77.44, -7.49, 49.50) |
| CIE-LCH | lch(77.44, 50.06, 98.60°) |
| OKLab | oklab(80.3% -0.0229 0.1164) |
| OKLCH | oklch(80.3% 0.119 101.1) |
| XYZ | xyz(46.9613, 52.2701, 18.9224) |
| Luminance | 0.5227 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.55
Darkkhaki
#BDB76B
ΔE00 4.86
Sandy
#F1DA7A
ΔE00 6.88
Greenish Beige
#C9D179
ΔE00 6.99
Olive Yellow
#C2B709
ΔE00 7.20
Mustard Yellow
#D2BD0A
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC161 #616FCF
analogous
#CF8A61 #CFC161 #A6CF61
triadic
#CFC161 #61CFC1 #C161CF
tetradic
#CFC161 #61CF8A #616FCF #CF61A6
square
#CFC161 #61CF8A #616FCF #CF61A6
split-complementary
#CFC161 #61A6CF #8A61CF
monochromatic
#8B7F2A #BAAA39 #CFC161 #DDD390 #ECE6BF
Accessibility & contrast
On white
1.83
#CFC161 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#CFC161 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC161
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC161 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC161 | 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)
#D0BC58
Deuteranopia (green-blind)
#D4C265
Tritanopia (blue-blind)
#DDB6AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc161; /* rgb */ color: rgb(207, 193, 97); /* oklch */ color: oklch(80.3% 0.119 101.1);
Tailwind
colors: {
custom: {
50: '#e0d390',
500: '#cfc161',
950: '#000000',
},
}SCSS
$custom: #cfc161; $custom-light: #e0d390; $custom-dark: #000000;
JSON
{
"hex": "#cfc161",
"rgb": {
"r": 207,
"g": 193,
"b": 97
},
"hsl": {
"h": 52.364,
"s": 53.398,
"l": 59.608
},
"oklch": {
"l": 0.80296,
"c": 0.1186,
"h": 101.1
},
"luminance": 0.52268
}Semantic roles & 50–950 ramp
primary
#CFC161
secondary
#424D92
accent
#5EDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F