#CFAE45#CFAE45
#CFAE45 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.128 H 91.5°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAE45 |
|---|---|
| RGB | rgb(207, 174, 69) |
| HSL | hsl(46, 59%, 54%) |
| HSV | hsv(46, 67%, 81%) |
| CMYK | cmyk(0%, 15.9%, 66.7%, 18.8%) |
| CIE-LAB | lab(72.21, 0.46, 56.44) |
| CIE-LCH | lch(72.21, 56.44, 89.53°) |
| OKLab | oklab(76.07% -0.0033 0.1276) |
| OKLCH | oklch(76.07% 0.128 91.5) |
| XYZ | xyz(41.9445, 43.9695, 11.9067) |
| Luminance | 0.4397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.76
Desert
#CCAD60
ΔE00 4.15
Burnt Yellow
#D5AB09
ΔE00 4.54
Gold (survey)
#DBB40C
ΔE00 5.15
Brownish Yellow
#C9B003
ΔE00 5.47
Dark Yellow
#D5B60A
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAE45 #4566CF
analogous
#CF6945 #CFAE45 #ABCF45
triadic
#CFAE45 #45CFAE #AE45CF
tetradic
#CFAE45 #45CF69 #4566CF #CF45AB
square
#CFAE45 #45CF69 #4566CF #CF45AB
split-complementary
#CFAE45 #45ABCF #6945CF
monochromatic
#7A6420 #AB8C2C #CFAE45 #DCC376 #E8D8A6
Accessibility & contrast
On white
2.14
#CFAE45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#CFAE45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAE45
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAE45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAE45 | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC38
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#DFA098
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfae45; /* rgb */ color: rgb(207, 174, 69); /* oklch */ color: oklch(76.1% 0.128 91.5);
Tailwind
colors: {
custom: {
50: '#e1c57e',
500: '#cfae45',
950: '#000000',
},
}SCSS
$custom: #cfae45; $custom-light: #e1c57e; $custom-dark: #000000;
JSON
{
"hex": "#cfae45",
"rgb": {
"r": 207,
"g": 174,
"b": 69
},
"hsl": {
"h": 45.652,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.76067,
"c": 0.12768,
"h": 91.5
},
"luminance": 0.43967
}Semantic roles & 50–950 ramp
primary
#CFAE45
secondary
#9BA9D5
accent
#6BE246
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C