#A98E1C#A98E1C
#A98E1C is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.3% C 0.126 H 94.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A98E1C |
|---|---|
| RGB | rgb(169, 142, 28) |
| HSL | hsl(49, 72%, 39%) |
| HSV | hsv(49, 83%, 66%) |
| CMYK | cmyk(0%, 16%, 83.4%, 33.7%) |
| CIE-LAB | lab(59.77, -0.99, 58.57) |
| CIE-LCH | lch(59.77, 58.57, 90.97°) |
| OKLab | oklab(65.29% -0.0097 0.1258) |
| OKLCH | oklch(65.29% 0.126 94.4) |
| XYZ | xyz(26.2463, 27.8664, 5.0947) |
| Luminance | 0.2787 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 1.44
Baby Poo
#AB9004
ΔE00 1.62
Dark Mustard
#A88905
ΔE00 2.03
Yellowy Brown
#AE8B0C
ΔE00 2.49
Dark Gold
#B59410
ΔE00 3.08
Brown Yellow
#B29705
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A98E1C #1C37A9
analogous
#A9471C #A98E1C #7DA91C
triadic
#A98E1C #1CA98E #8E1CA9
tetradic
#A98E1C #1CA947 #1C37A9 #A91C7D
square
#A98E1C #1CA947 #1C37A9 #A91C7D
split-complementary
#A98E1C #1C7DA9 #471CA9
monochromatic
#40360B #746213 #A98E1C #DBB927 #E4CA5B
Accessibility & contrast
On white
3.19
#A98E1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#A98E1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A98E1C
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A98E1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A98E1C | 1.00 | 3.19 | 6.57 | 6.57 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A59325
Tritanopia (blue-blind)
#B78279
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a98e1c; /* rgb */ color: rgb(169, 142, 28); /* oklch */ color: oklch(65.3% 0.126 94.4);
Tailwind
colors: {
custom: {
50: '#c7ae64',
500: '#a98e1c',
950: '#000000',
},
}SCSS
$custom: #a98e1c; $custom-light: #c7ae64; $custom-dark: #000000;
JSON
{
"hex": "#a98e1c",
"rgb": {
"r": 169,
"g": 142,
"b": 28
},
"hsl": {
"h": 48.511,
"s": 71.574,
"l": 38.627
},
"oklch": {
"l": 0.6529,
"c": 0.12621,
"h": 94.4
},
"luminance": 0.27865
}Semantic roles & 50–950 ramp
primary
#A98E1C
secondary
#596EC8
accent
#5CEE39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A