#AF9947#AF9947
#AF9947 is a light, moderate yellow. Relative luminance 0.324; OKLCH L 68.6% C 0.105 H 94.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9947 |
|---|---|
| RGB | rgb(175, 153, 71) |
| HSL | hsl(47, 42%, 48%) |
| HSV | hsv(47, 59%, 69%) |
| CMYK | cmyk(0%, 12.6%, 59.4%, 31.4%) |
| CIE-LAB | lab(63.63, -2.03, 45.25) |
| CIE-LCH | lch(63.63, 45.30, 92.56°) |
| OKLab | oklab(68.58% -0.0082 0.105) |
| OKLCH | oklch(68.58% 0.105 94.4) |
| XYZ | xyz(30.2090, 32.3528, 10.6135) |
| Luminance | 0.3235 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 5.86
Sandy Brown
#C4A661
ΔE00 5.86
Dark Gold
#B59410
ΔE00 5.92
Brown Yellow
#B29705
ΔE00 5.98
Baby Poo
#AB9004
ΔE00 6.12
Dark Sand
#A88F59
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9947 #475DAF
analogous
#AF6547 #AF9947 #91AF47
triadic
#AF9947 #47AF99 #9947AF
tetradic
#AF9947 #47AF65 #475DAF #AF4791
square
#AF9947 #47AF65 #475DAF #AF4791
split-complementary
#AF9947 #4791AF #6547AF
monochromatic
#584D24 #837335 #AF9947 #C4B26F #D6C99A
Accessibility & contrast
On white
2.81
#AF9947 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#AF9947 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9947
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9947 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9947 | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7963F
Deuteranopia (green-blind)
#AD9D4B
Tritanopia (blue-blind)
#BC8E87
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af9947; /* rgb */ color: rgb(175, 153, 71); /* oklch */ color: oklch(68.6% 0.105 94.4);
Tailwind
colors: {
custom: {
50: '#c9b67d',
500: '#af9947',
950: '#000000',
},
}SCSS
$custom: #af9947; $custom-light: #c9b67d; $custom-dark: #000000;
JSON
{
"hex": "#af9947",
"rgb": {
"r": 175,
"g": 153,
"b": 71
},
"hsl": {
"h": 47.308,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.68585,
"c": 0.10529,
"h": 94.4
},
"luminance": 0.32351
}Semantic roles & 50–950 ramp
primary
#AF9947
secondary
#8F9AC2
accent
#70D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C