#CFAF47#CFAF47
#CFAF47 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.127 H 91.9°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF47 |
|---|---|
| RGB | rgb(207, 175, 71) |
| HSL | hsl(46, 59%, 55%) |
| HSV | hsv(46, 66%, 81%) |
| CMYK | cmyk(0%, 15.5%, 65.7%, 18.8%) |
| CIE-LAB | lab(72.48, 0.05, 55.87) |
| CIE-LCH | lch(72.48, 55.87, 89.95°) |
| OKLab | oklab(76.29% -0.0042 0.1267) |
| OKLCH | oklch(76.29% 0.127 91.9) |
| XYZ | xyz(42.2015, 44.3826, 12.3039) |
| Luminance | 0.4438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.85
Desert
#CCAD60
ΔE00 4.08
Burnt Yellow
#D5AB09
ΔE00 4.79
Gold (survey)
#DBB40C
ΔE00 5.25
Brownish Yellow
#C9B003
ΔE00 5.45
Dark Yellow
#D5B60A
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF47 #4767CF
analogous
#CF6B47 #CFAF47 #ABCF47
triadic
#CFAF47 #47CFAF #AF47CF
tetradic
#CFAF47 #47CF6B #4767CF #CF47AB
square
#CFAF47 #47CF6B #4767CF #CF47AB
split-complementary
#CFAF47 #47ABCF #6B47CF
monochromatic
#7B6620 #AC8E2D #CFAF47 #DCC478 #E8D9A8
Accessibility & contrast
On white
2.13
#CFAF47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#CFAF47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF47
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF47 | 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)
#C1AC3B
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf47; /* rgb */ color: rgb(207, 175, 71); /* oklch */ color: oklch(76.3% 0.127 91.9);
Tailwind
colors: {
custom: {
50: '#e1c67f',
500: '#cfaf47',
950: '#000000',
},
}SCSS
$custom: #cfaf47; $custom-light: #e1c67f; $custom-dark: #000000;
JSON
{
"hex": "#cfaf47",
"rgb": {
"r": 207,
"g": 175,
"b": 71
},
"hsl": {
"h": 45.882,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.7629,
"c": 0.12681,
"h": 91.9
},
"luminance": 0.4438
}Semantic roles & 50–950 ramp
primary
#CFAF47
secondary
#9CAAD6
accent
#6BE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C