#CFAE3F#CFAE3F
#CFAE3F is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.132 H 92.1°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAE3F |
|---|---|
| RGB | rgb(207, 174, 63) |
| HSL | hsl(46, 60%, 53%) |
| HSV | hsv(46, 70%, 81%) |
| CMYK | cmyk(0%, 15.9%, 69.6%, 18.8%) |
| CIE-LAB | lab(72.16, 0.13, 58.92) |
| CIE-LCH | lch(72.16, 58.92, 89.87°) |
| OKLab | oklab(76.01% -0.005 0.1319) |
| OKLCH | oklch(76.01% 0.132 92.1) |
| XYZ | xyz(41.7676, 43.8988, 10.9750) |
| Luminance | 0.4390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.26
Burnt Yellow
#D5AB09
ΔE00 3.97
Gold (survey)
#DBB40C
ΔE00 4.54
Brownish Yellow
#C9B003
ΔE00 4.80
Dark Yellow
#D5B60A
ΔE00 4.83
Desert
#CCAD60
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAE3F #3F60CF
analogous
#CF663F #CFAE3F #A8CF3F
triadic
#CFAE3F #3FCFAE #AE3FCF
tetradic
#CFAE3F #3FCF66 #3F60CF #CF3FA8
square
#CFAE3F #3FCF66 #3F60CF #CF3FA8
split-complementary
#CFAE3F #3FA8CF #663FCF
monochromatic
#76621E #A78A2A #CFAE3F #DBC370 #E7D7A1
Accessibility & contrast
On white
2.15
#CFAE3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#CFAE3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAE3F
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAE3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAE3F | 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)
#C1AB30
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#E0A097
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfae3f; /* rgb */ color: rgb(207, 174, 63); /* oklch */ color: oklch(76.0% 0.132 92.1);
Tailwind
colors: {
custom: {
50: '#e2c57a',
500: '#cfae3f',
950: '#000000',
},
}SCSS
$custom: #cfae3f; $custom-light: #e2c57a; $custom-dark: #000000;
JSON
{
"hex": "#cfae3f",
"rgb": {
"r": 207,
"g": 174,
"b": 63
},
"hsl": {
"h": 46.25,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.76014,
"c": 0.13197,
"h": 92.1
},
"luminance": 0.43896
}Semantic roles & 50–950 ramp
primary
#CFAE3F
secondary
#96A4D4
accent
#69E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C