#CFAD3F#CFAD3F
#CFAD3F is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.8% C 0.131 H 91.5°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAD3F |
|---|---|
| RGB | rgb(207, 173, 63) |
| HSL | hsl(46, 60%, 53%) |
| HSV | hsv(46, 70%, 81%) |
| CMYK | cmyk(0%, 16.4%, 69.6%, 18.8%) |
| CIE-LAB | lab(71.90, 0.66, 58.66) |
| CIE-LCH | lch(71.90, 58.66, 89.36°) |
| OKLab | oklab(75.81% -0.0034 0.1313) |
| OKLCH | oklch(75.81% 0.131 91.5) |
| XYZ | xyz(41.5751, 43.5138, 10.9108) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.37
Burnt Yellow
#D5AB09
ΔE00 3.91
Gold (survey)
#DBB40C
ΔE00 4.68
Desert
#CCAD60
ΔE00 4.72
Brownish Yellow
#C9B003
ΔE00 5.08
Dark Yellow
#D5B60A
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAD3F #3F61CF
analogous
#CF653F #CFAD3F #A9CF3F
triadic
#CFAD3F #3FCFAD #AD3FCF
tetradic
#CFAD3F #3FCF65 #3F61CF #CF3FA9
square
#CFAD3F #3FCF65 #3F61CF #CF3FA9
split-complementary
#CFAD3F #3FA9CF #653FCF
monochromatic
#76611E #A7892A #CFAD3F #DBC270 #E7D7A1
Accessibility & contrast
On white
2.16
#CFAD3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#CFAD3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAD3F
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAD3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAD3F | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#C8B445
Tritanopia (blue-blind)
#E09F96
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cfad3f; /* rgb */ color: rgb(207, 173, 63); /* oklch */ color: oklch(75.8% 0.131 91.5);
Tailwind
colors: {
custom: {
50: '#e2c57a',
500: '#cfad3f',
950: '#000000',
},
}SCSS
$custom: #cfad3f; $custom-light: #e2c57a; $custom-dark: #000000;
JSON
{
"hex": "#cfad3f",
"rgb": {
"r": 207,
"g": 173,
"b": 63
},
"hsl": {
"h": 45.833,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.7581,
"c": 0.13136,
"h": 91.5
},
"luminance": 0.43511
}Semantic roles & 50–950 ramp
primary
#CFAD3F
secondary
#96A4D4
accent
#6AE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C