#CFAE3B#CFAE3B
#CFAE3B is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.135 H 92.5°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAE3B |
|---|---|
| RGB | rgb(207, 174, 59) |
| HSL | hsl(47, 61%, 52%) |
| HSV | hsv(47, 71%, 81%) |
| CMYK | cmyk(0%, 15.9%, 71.5%, 18.8%) |
| CIE-LAB | lab(72.13, -0.07, 60.51) |
| CIE-LCH | lch(72.13, 60.51, 90.07°) |
| OKLab | oklab(75.98% -0.006 0.1345) |
| OKLCH | oklch(75.98% 0.135 92.5) |
| XYZ | xyz(41.6598, 43.8557, 10.4075) |
| Luminance | 0.4385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.99
Burnt Yellow
#D5AB09
ΔE00 3.64
Gold (survey)
#DBB40C
ΔE00 4.18
Brownish Yellow
#C9B003
ΔE00 4.40
Dark Yellow
#D5B60A
ΔE00 4.43
Mustard (survey)
#CEB301
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAE3B #3B5CCF
analogous
#CF643B #CFAE3B #A6CF3B
triadic
#CFAE3B #3BCFAE #AE3BCF
tetradic
#CFAE3B #3BCF64 #3B5CCF #CF3BA6
square
#CFAE3B #3BCF64 #3B5CCF #CF3BA6
split-complementary
#CFAE3B #3BA6CF #643BCF
monochromatic
#73601C #A58928 #CFAE3B #DBC26C #E7D79D
Accessibility & contrast
On white
2.15
#CFAE3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#CFAE3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAE3B
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAE3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAE3B | 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)
#C1AB2A
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#E0A097
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfae3b; /* rgb */ color: rgb(207, 174, 59); /* oklch */ color: oklch(76.0% 0.135 92.5);
Tailwind
colors: {
custom: {
50: '#e2c578',
500: '#cfae3b',
950: '#000000',
},
}SCSS
$custom: #cfae3b; $custom-light: #e2c578; $custom-dark: #000000;
JSON
{
"hex": "#cfae3b",
"rgb": {
"r": 207,
"g": 174,
"b": 59
},
"hsl": {
"h": 46.622,
"s": 60.656,
"l": 52.157
},
"oklch": {
"l": 0.75982,
"c": 0.13464,
"h": 92.5
},
"luminance": 0.43853
}Semantic roles & 50–950 ramp
primary
#CFAE3B
secondary
#93A1D3
accent
#68E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B