#CFAE3E#CFAE3E
#CFAE3E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.133 H 92.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAE3E |
|---|---|
| RGB | rgb(207, 174, 62) |
| HSL | hsl(46, 60%, 53%) |
| HSV | hsv(46, 70%, 81%) |
| CMYK | cmyk(0%, 15.9%, 70%, 18.8%) |
| CIE-LAB | lab(72.15, 0.08, 59.33) |
| CIE-LCH | lch(72.15, 59.33, 89.92°) |
| OKLab | oklab(76.01% -0.0052 0.1326) |
| OKLCH | oklch(76.01% 0.133 92.3) |
| XYZ | xyz(41.7399, 43.8877, 10.8292) |
| Luminance | 0.4389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.18
Burnt Yellow
#D5AB09
ΔE00 3.88
Gold (survey)
#DBB40C
ΔE00 4.45
Brownish Yellow
#C9B003
ΔE00 4.70
Dark Yellow
#D5B60A
ΔE00 4.73
Mustard (survey)
#CEB301
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAE3E #3E5FCF
analogous
#CF663E #CFAE3E #A7CF3E
triadic
#CFAE3E #3ECFAE #AE3ECF
tetradic
#CFAE3E #3ECF66 #3E5FCF #CF3EA7
square
#CFAE3E #3ECF66 #3E5FCF #CF3EA7
split-complementary
#CFAE3E #3EA7CF #663ECF
monochromatic
#75611D #A68A29 #CFAE3E #DBC36F #E7D7A0
Accessibility & contrast
On white
2.15
#CFAE3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#CFAE3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAE3E
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAE3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAE3E | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB2F
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#E0A097
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfae3e; /* rgb */ color: rgb(207, 174, 62); /* oklch */ color: oklch(76.0% 0.133 92.3);
Tailwind
colors: {
custom: {
50: '#e2c57a',
500: '#cfae3e',
950: '#000000',
},
}SCSS
$custom: #cfae3e; $custom-light: #e2c57a; $custom-dark: #000000;
JSON
{
"hex": "#cfae3e",
"rgb": {
"r": 207,
"g": 174,
"b": 62
},
"hsl": {
"h": 46.345,
"s": 60.166,
"l": 52.745
},
"oklch": {
"l": 0.76006,
"c": 0.13265,
"h": 92.3
},
"luminance": 0.43885
}Semantic roles & 50–950 ramp
primary
#CFAE3E
secondary
#95A3D4
accent
#69E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B