#CFAE3A#CFAE3A
#CFAE3A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 76.0% C 0.135 H 92.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAE3A |
|---|---|
| RGB | rgb(207, 174, 58) |
| HSL | hsl(47, 61%, 52%) |
| HSV | hsv(47, 72%, 81%) |
| CMYK | cmyk(0%, 15.9%, 72%, 18.8%) |
| CIE-LAB | lab(72.13, -0.12, 60.89) |
| CIE-LCH | lch(72.13, 60.89, 90.11°) |
| OKLab | oklab(75.98% -0.0062 0.1351) |
| OKLCH | oklch(75.98% 0.135 92.6) |
| XYZ | xyz(41.6341, 43.8454, 10.2722) |
| Luminance | 0.4384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.93
Burnt Yellow
#D5AB09
ΔE00 3.56
Gold (survey)
#DBB40C
ΔE00 4.10
Brownish Yellow
#C9B003
ΔE00 4.30
Dark Yellow
#D5B60A
ΔE00 4.34
Mustard (survey)
#CEB301
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAE3A #3A5BCF
analogous
#CF633A #CFAE3A #A6CF3A
triadic
#CFAE3A #3ACFAE #AE3ACF
tetradic
#CFAE3A #3ACF63 #3A5BCF #CF3AA6
square
#CFAE3A #3ACF63 #3A5BCF #CF3AA6
split-complementary
#CFAE3A #3AA6CF #633ACF
monochromatic
#735F1C #A48828 #CFAE3A #DBC26B #E7D69C
Accessibility & contrast
On white
2.15
#CFAE3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#CFAE3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAE3A
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAE3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAE3A | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB29
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#E0A097
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfae3a; /* rgb */ color: rgb(207, 174, 58); /* oklch */ color: oklch(76.0% 0.135 92.6);
Tailwind
colors: {
custom: {
50: '#e2c577',
500: '#cfae3a',
950: '#000000',
},
}SCSS
$custom: #cfae3a; $custom-light: #e2c577; $custom-dark: #000000;
JSON
{
"hex": "#cfae3a",
"rgb": {
"r": 207,
"g": 174,
"b": 58
},
"hsl": {
"h": 46.711,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.75975,
"c": 0.13528,
"h": 92.6
},
"luminance": 0.43843
}Semantic roles & 50–950 ramp
primary
#CFAE3A
secondary
#92A0D3
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B