#CFAE4A#CFAE4A
#CFAE4A is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.124 H 90.8°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAE4A |
|---|---|
| RGB | rgb(207, 174, 74) |
| HSL | hsl(45, 58%, 55%) |
| HSV | hsv(45, 64%, 81%) |
| CMYK | cmyk(0%, 15.9%, 64.3%, 18.8%) |
| CIE-LAB | lab(72.25, 0.77, 54.29) |
| CIE-LCH | lch(72.25, 54.29, 89.19°) |
| OKLab | oklab(76.11% -0.0018 0.1238) |
| OKLCH | oklch(76.11% 0.124 90.8) |
| XYZ | xyz(42.1063, 44.0343, 12.7589) |
| Luminance | 0.4403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.51
Mustard
#DBB42C
ΔE00 4.26
Burnt Yellow
#D5AB09
ΔE00 5.08
Sandy Brown
#C4A661
ΔE00 5.36
Tan (survey)
#D1B26F
ΔE00 5.55
Gold (survey)
#DBB40C
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAE4A #4A6BCF
analogous
#CF6C4A #CFAE4A #ADCF4A
triadic
#CFAE4A #4ACFAE #AE4ACF
tetradic
#CFAE4A #4ACF6C #4A6BCF #CF4AAD
square
#CFAE4A #4ACF6C #4A6BCF #CF4AAD
split-complementary
#CFAE4A #4AADCF #6C4ACF
monochromatic
#7D6721 #AE8E2E #CFAE4A #DCC47A #E9D9AB
Accessibility & contrast
On white
2.14
#CFAE4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#CFAE4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAE4A
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAE4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAE4A | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC3F
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#DFA199
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfae4a; /* rgb */ color: rgb(207, 174, 74); /* oklch */ color: oklch(76.1% 0.124 90.8);
Tailwind
colors: {
custom: {
50: '#e1c581',
500: '#cfae4a',
950: '#000000',
},
}SCSS
$custom: #cfae4a; $custom-light: #e1c581; $custom-dark: #000000;
JSON
{
"hex": "#cfae4a",
"rgb": {
"r": 207,
"g": 174,
"b": 74
},
"hsl": {
"h": 45.113,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.76115,
"c": 0.12385,
"h": 90.8
},
"luminance": 0.44032
}Semantic roles & 50–950 ramp
primary
#CFAE4A
secondary
#9FACD6
accent
#6DE146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C