#CFAD45#CFAD45
#CFAD45 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.9% C 0.127 H 90.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAD45 |
|---|---|
| RGB | rgb(207, 173, 69) |
| HSL | hsl(45, 59%, 54%) |
| HSV | hsv(45, 67%, 81%) |
| CMYK | cmyk(0%, 16.4%, 66.7%, 18.8%) |
| CIE-LAB | lab(71.95, 0.99, 56.17) |
| CIE-LCH | lch(71.95, 56.18, 88.99°) |
| OKLab | oklab(75.86% -0.0018 0.1271) |
| OKLCH | oklch(75.86% 0.127 90.8) |
| XYZ | xyz(41.7520, 43.5846, 11.8426) |
| Luminance | 0.4358 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.90
Desert
#CCAD60
ΔE00 4.00
Burnt Yellow
#D5AB09
ΔE00 4.52
Gold (survey)
#DBB40C
ΔE00 5.30
Goldenrod
#DAA520
ΔE00 5.51
Sandy Brown
#C4A661
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAD45 #4567CF
analogous
#CF6845 #CFAD45 #ACCF45
triadic
#CFAD45 #45CFAD #AD45CF
tetradic
#CFAD45 #45CF68 #4567CF #CF45AC
square
#CFAD45 #45CF68 #4567CF #CF45AC
split-complementary
#CFAD45 #45ACCF #6845CF
monochromatic
#7A6420 #AB8C2C #CFAD45 #DCC276 #E8D8A6
Accessibility & contrast
On white
2.16
#CFAD45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#CFAD45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAD45
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAD45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAD45 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAB38
Deuteranopia (green-blind)
#C8B44A
Tritanopia (blue-blind)
#DF9F97
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cfad45; /* rgb */ color: rgb(207, 173, 69); /* oklch */ color: oklch(75.9% 0.127 90.8);
Tailwind
colors: {
custom: {
50: '#e1c57e',
500: '#cfad45',
950: '#000000',
},
}SCSS
$custom: #cfad45; $custom-light: #e1c57e; $custom-dark: #000000;
JSON
{
"hex": "#cfad45",
"rgb": {
"r": 207,
"g": 173,
"b": 69
},
"hsl": {
"h": 45.217,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.75863,
"c": 0.12707,
"h": 90.8
},
"luminance": 0.43582
}Semantic roles & 50–950 ramp
primary
#CFAD45
secondary
#9BA9D5
accent
#6CE246
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C