#CFAF49#CFAF49
#CFAF49 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.125 H 91.7°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF49 |
|---|---|
| RGB | rgb(207, 175, 73) |
| HSL | hsl(46, 58%, 55%) |
| HSV | hsv(46, 65%, 81%) |
| CMYK | cmyk(0%, 15.5%, 64.7%, 18.8%) |
| CIE-LAB | lab(72.50, 0.17, 55.00) |
| CIE-LCH | lch(72.50, 55.00, 89.82°) |
| OKLab | oklab(76.31% -0.0036 0.1252) |
| OKLCH | oklch(76.31% 0.125 91.7) |
| XYZ | xyz(42.2668, 44.4087, 12.6475) |
| Luminance | 0.4441 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.82
Mustard
#DBB42C
ΔE00 4.04
Burnt Yellow
#D5AB09
ΔE00 5.00
Gold (survey)
#DBB40C
ΔE00 5.47
Brownish Yellow
#C9B003
ΔE00 5.70
Sandy Brown
#C4A661
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF49 #4969CF
analogous
#CF6C49 #CFAF49 #ACCF49
triadic
#CFAF49 #49CFAF #AF49CF
tetradic
#CFAF49 #49CF6C #4969CF #CF49AC
square
#CFAF49 #49CF6C #4969CF #CF49AC
split-complementary
#CFAF49 #49ACCF #6C49CF
monochromatic
#7D6721 #AD8F2E #CFAF49 #DCC479 #E9DAAA
Accessibility & contrast
On white
2.13
#CFAF49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#CFAF49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF49
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF49 | 1.00 | 2.13 | 9.88 | 9.88 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC3D
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf49; /* rgb */ color: rgb(207, 175, 73); /* oklch */ color: oklch(76.3% 0.125 91.7);
Tailwind
colors: {
custom: {
50: '#e1c680',
500: '#cfaf49',
950: '#000000',
},
}SCSS
$custom: #cfaf49; $custom-light: #e1c680; $custom-dark: #000000;
JSON
{
"hex": "#cfaf49",
"rgb": {
"r": 207,
"g": 175,
"b": 73
},
"hsl": {
"h": 45.672,
"s": 58.261,
"l": 54.902
},
"oklch": {
"l": 0.76309,
"c": 0.12527,
"h": 91.7
},
"luminance": 0.44406
}Semantic roles & 50–950 ramp
primary
#CFAF49
secondary
#9EABD6
accent
#6BE146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C