#CFAE47#CFAE47
#CFAE47 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.126 H 91.2°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAE47 |
|---|---|
| RGB | rgb(207, 174, 71) |
| HSL | hsl(45, 59%, 55%) |
| HSV | hsv(45, 66%, 81%) |
| CMYK | cmyk(0%, 15.9%, 65.7%, 18.8%) |
| CIE-LAB | lab(72.22, 0.58, 55.59) |
| CIE-LCH | lch(72.22, 55.59, 89.40°) |
| OKLab | oklab(76.09% -0.0027 0.1262) |
| OKLCH | oklch(76.09% 0.126 91.2) |
| XYZ | xyz(42.0076, 43.9948, 12.2392) |
| Luminance | 0.4399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.90
Mustard
#DBB42C
ΔE00 3.95
Burnt Yellow
#D5AB09
ΔE00 4.75
Gold (survey)
#DBB40C
ΔE00 5.37
Brownish Yellow
#C9B003
ΔE00 5.71
Sandy Brown
#C4A661
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAE47 #4768CF
analogous
#CF6A47 #CFAE47 #ACCF47
triadic
#CFAE47 #47CFAE #AE47CF
tetradic
#CFAE47 #47CF6A #4768CF #CF47AC
square
#CFAE47 #47CF6A #4768CF #CF47AC
split-complementary
#CFAE47 #47ACCF #6A47CF
monochromatic
#7B6520 #AC8D2D #CFAE47 #DCC378 #E8D9A8
Accessibility & contrast
On white
2.14
#CFAE47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#CFAE47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAE47
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAE47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAE47 | 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)
#C0AC3B
Deuteranopia (green-blind)
#C8B54C
Tritanopia (blue-blind)
#DFA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfae47; /* rgb */ color: rgb(207, 174, 71); /* oklch */ color: oklch(76.1% 0.126 91.2);
Tailwind
colors: {
custom: {
50: '#e1c57f',
500: '#cfae47',
950: '#000000',
},
}SCSS
$custom: #cfae47; $custom-light: #e1c57f; $custom-dark: #000000;
JSON
{
"hex": "#cfae47",
"rgb": {
"r": 207,
"g": 174,
"b": 71
},
"hsl": {
"h": 45.441,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.76086,
"c": 0.12618,
"h": 91.2
},
"luminance": 0.43992
}Semantic roles & 50–950 ramp
primary
#CFAE47
secondary
#9CAAD6
accent
#6CE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C