#CFAE46#CFAE46
#CFAE46 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.127 H 91.3°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAE46 |
|---|---|
| RGB | rgb(207, 174, 70) |
| HSL | hsl(46, 59%, 54%) |
| HSV | hsv(46, 66%, 81%) |
| CMYK | cmyk(0%, 15.9%, 66.2%, 18.8%) |
| CIE-LAB | lab(72.22, 0.52, 56.02) |
| CIE-LCH | lch(72.22, 56.02, 89.47°) |
| OKLab | oklab(76.08% -0.003 0.1269) |
| OKLCH | oklch(76.08% 0.127 91.3) |
| XYZ | xyz(41.9758, 43.9821, 12.0716) |
| Luminance | 0.4398 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.85
Desert
#CCAD60
ΔE00 4.02
Burnt Yellow
#D5AB09
ΔE00 4.64
Gold (survey)
#DBB40C
ΔE00 5.26
Brownish Yellow
#C9B003
ΔE00 5.59
Dark Yellow
#D5B60A
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAE46 #4667CF
analogous
#CF6A46 #CFAE46 #ACCF46
triadic
#CFAE46 #46CFAE #AE46CF
tetradic
#CFAE46 #46CF6A #4667CF #CF46AC
square
#CFAE46 #46CF6A #4667CF #CF46AC
split-complementary
#CFAE46 #46ACCF #6A46CF
monochromatic
#7B6520 #AB8D2C #CFAE46 #DCC377 #E8D9A7
Accessibility & contrast
On white
2.14
#CFAE46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#CFAE46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAE46
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAE46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAE46 | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC3A
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#DFA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfae46; /* rgb */ color: rgb(207, 174, 70); /* oklch */ color: oklch(76.1% 0.127 91.3);
Tailwind
colors: {
custom: {
50: '#e1c57e',
500: '#cfae46',
950: '#000000',
},
}SCSS
$custom: #cfae46; $custom-light: #e1c57e; $custom-dark: #000000;
JSON
{
"hex": "#cfae46",
"rgb": {
"r": 207,
"g": 174,
"b": 70
},
"hsl": {
"h": 45.547,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.76076,
"c": 0.12694,
"h": 91.3
},
"luminance": 0.4398
}Semantic roles & 50–950 ramp
primary
#CFAE46
secondary
#9BA9D5
accent
#6BE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C