#A98F31#A98F31
#A98F31 is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.6% C 0.115 H 93.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A98F31 |
|---|---|
| RGB | rgb(169, 143, 49) |
| HSL | hsl(47, 55%, 43%) |
| HSV | hsv(47, 71%, 66%) |
| CMYK | cmyk(0%, 15.4%, 71%, 33.7%) |
| CIE-LAB | lab(60.16, -0.66, 51.35) |
| CIE-LCH | lch(60.16, 51.35, 90.73°) |
| OKLab | oklab(65.64% -0.0065 0.1147) |
| OKLCH | oklch(65.64% 0.115 93.3) |
| XYZ | xyz(26.7404, 28.3032, 6.9597) |
| Luminance | 0.2830 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 3.28
Baby Poo
#AB9004
ΔE00 3.58
Dark Mustard
#A88905
ΔE00 3.62
Yellowy Brown
#AE8B0C
ΔE00 3.73
Dark Gold
#B59410
ΔE00 4.24
Diarrhea
#9F8303
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A98F31 #314BA9
analogous
#A95331 #A98F31 #87A931
triadic
#A98F31 #31A98F #8F31A9
tetradic
#A98F31 #31A953 #314BA9 #A93187
square
#A98F31 #31A953 #314BA9 #A93187
split-complementary
#A98F31 #3187A9 #5331A9
monochromatic
#4A3F15 #7A6723 #A98F31 #CBB04C #D9C57C
Accessibility & contrast
On white
3.15
#A98F31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#A98F31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A98F31
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A98F31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A98F31 | 1.00 | 3.15 | 6.66 | 6.66 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8D24
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#B7847C
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a98f31; /* rgb */ color: rgb(169, 143, 49); /* oklch */ color: oklch(65.6% 0.115 93.3);
Tailwind
colors: {
custom: {
50: '#c6af6f',
500: '#a98f31',
950: '#000000',
},
}SCSS
$custom: #a98f31; $custom-light: #c6af6f; $custom-dark: #000000;
JSON
{
"hex": "#a98f31",
"rgb": {
"r": 169,
"g": 143,
"b": 49
},
"hsl": {
"h": 47,
"s": 55.046,
"l": 42.745
},
"oklch": {
"l": 0.65641,
"c": 0.11489,
"h": 93.3
},
"luminance": 0.28302
}Semantic roles & 50–950 ramp
primary
#A98F31
secondary
#7485C1
accent
#6ADE49
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131008
muted
#827F7B