#CFAD46#CFAD46
#CFAD46 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.9% C 0.126 H 90.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAD46 |
|---|---|
| RGB | rgb(207, 173, 70) |
| HSL | hsl(45, 59%, 54%) |
| HSV | hsv(45, 66%, 81%) |
| CMYK | cmyk(0%, 16.4%, 66.2%, 18.8%) |
| CIE-LAB | lab(71.96, 1.05, 55.74) |
| CIE-LCH | lch(71.96, 55.75, 88.92°) |
| OKLab | oklab(75.87% -0.0015 0.1263) |
| OKLCH | oklch(75.87% 0.126 90.7) |
| XYZ | xyz(41.7833, 43.5971, 12.0075) |
| Luminance | 0.4360 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.88
Mustard
#DBB42C
ΔE00 3.99
Burnt Yellow
#D5AB09
ΔE00 4.63
Gold (survey)
#DBB40C
ΔE00 5.42
Goldenrod
#DAA520
ΔE00 5.54
Sandy Brown
#C4A661
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAD46 #4668CF
analogous
#CF6846 #CFAD46 #ADCF46
triadic
#CFAD46 #46CFAD #AD46CF
tetradic
#CFAD46 #46CF68 #4668CF #CF46AD
square
#CFAD46 #46CF68 #4668CF #CF46AD
split-complementary
#CFAD46 #46ADCF #6846CF
monochromatic
#7B6420 #AB8C2C #CFAD46 #DCC377 #E8D8A7
Accessibility & contrast
On white
2.16
#CFAD46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#CFAD46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAD46
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAD46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAD46 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAB3A
Deuteranopia (green-blind)
#C8B44B
Tritanopia (blue-blind)
#DF9F97
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cfad46; /* rgb */ color: rgb(207, 173, 70); /* oklch */ color: oklch(75.9% 0.126 90.7);
Tailwind
colors: {
custom: {
50: '#e1c57e',
500: '#cfad46',
950: '#000000',
},
}SCSS
$custom: #cfad46; $custom-light: #e1c57e; $custom-dark: #000000;
JSON
{
"hex": "#cfad46",
"rgb": {
"r": 207,
"g": 173,
"b": 70
},
"hsl": {
"h": 45.109,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.75873,
"c": 0.12633,
"h": 90.7
},
"luminance": 0.43595
}Semantic roles & 50–950 ramp
primary
#CFAD46
secondary
#9BAAD5
accent
#6DE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C