#AF9547#AF9547
#AF9547 is a light, moderate yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.102 H 91.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9547 |
|---|---|
| RGB | rgb(175, 149, 71) |
| HSL | hsl(45, 42%, 48%) |
| HSV | hsv(45, 59%, 69%) |
| CMYK | cmyk(0%, 14.9%, 59.4%, 31.4%) |
| CIE-LAB | lab(62.56, 0.15, 44.03) |
| CIE-LCH | lch(62.56, 44.03, 89.81°) |
| OKLab | oklab(67.74% -0.0019 0.1024) |
| OKLCH | oklch(67.74% 0.102 91) |
| XYZ | xyz(29.5653, 31.0653, 10.3989) |
| Luminance | 0.3106 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Sand
#A88F59
ΔE00 5.00
Baby Shit Brown
#AD900D
ΔE00 5.81
Dark Gold
#B59410
ΔE00 5.89
Dark Beige
#AC9362
ΔE00 5.92
Sandy Brown
#C4A661
ΔE00 5.95
Camel (survey)
#C69F59
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9547 #4761AF
analogous
#AF6147 #AF9547 #95AF47
triadic
#AF9547 #47AF95 #9547AF
tetradic
#AF9547 #47AF61 #4761AF #AF4795
square
#AF9547 #47AF61 #4761AF #AF4795
split-complementary
#AF9547 #4795AF #6147AF
monochromatic
#584B24 #837035 #AF9547 #C4AF6F #D6C79A
Accessibility & contrast
On white
2.91
#AF9547 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#AF9547 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9547
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9547 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9547 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3933F
Deuteranopia (green-blind)
#AA9A4A
Tritanopia (blue-blind)
#BC8A84
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #af9547; /* rgb */ color: rgb(175, 149, 71); /* oklch */ color: oklch(67.7% 0.102 91.0);
Tailwind
colors: {
custom: {
50: '#cab37d',
500: '#af9547',
950: '#000000',
},
}SCSS
$custom: #af9547; $custom-light: #cab37d; $custom-dark: #000000;
JSON
{
"hex": "#af9547",
"rgb": {
"r": 175,
"g": 149,
"b": 71
},
"hsl": {
"h": 45,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.67739,
"c": 0.10237,
"h": 91
},
"luminance": 0.31064
}Semantic roles & 50–950 ramp
primary
#AF9547
secondary
#8F9CC2
accent
#75D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C