#A98D1C#A98D1C
#A98D1C is a light, vivid yellow. Relative luminance 0.276; OKLCH L 65.1% C 0.126 H 93.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A98D1C |
|---|---|
| RGB | rgb(169, 141, 28) |
| HSL | hsl(48, 72%, 39%) |
| HSV | hsv(48, 83%, 66%) |
| CMYK | cmyk(0%, 16.6%, 83.4%, 33.7%) |
| CIE-LAB | lab(59.50, -0.44, 58.33) |
| CIE-LCH | lch(59.50, 58.34, 90.43°) |
| OKLab | oklab(65.08% -0.0081 0.1253) |
| OKLCH | oklch(65.08% 0.126 93.7) |
| XYZ | xyz(26.0982, 27.5702, 5.0453) |
| Luminance | 0.2757 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 1.61
Dark Mustard
#A88905
ΔE00 1.72
Baby Poo
#AB9004
ΔE00 1.88
Yellowy Brown
#AE8B0C
ΔE00 2.18
Dark Gold
#B59410
ΔE00 3.18
Diarrhea
#9F8303
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A98D1C #1C38A9
analogous
#A9461C #A98D1C #7EA91C
triadic
#A98D1C #1CA98D #8D1CA9
tetradic
#A98D1C #1CA946 #1C38A9 #A91C7E
square
#A98D1C #1CA946 #1C38A9 #A91C7E
split-complementary
#A98D1C #1C7EA9 #461CA9
monochromatic
#40350B #746113 #A98D1C #DBB727 #E4C95B
Accessibility & contrast
On white
3.22
#A98D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#A98D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A98D1C
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A98D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A98D1C | 1.00 | 3.22 | 6.51 | 6.51 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A49324
Tritanopia (blue-blind)
#B78179
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a98d1c; /* rgb */ color: rgb(169, 141, 28); /* oklch */ color: oklch(65.1% 0.126 93.7);
Tailwind
colors: {
custom: {
50: '#c7ad64',
500: '#a98d1c',
950: '#000000',
},
}SCSS
$custom: #a98d1c; $custom-light: #c7ad64; $custom-dark: #000000;
JSON
{
"hex": "#a98d1c",
"rgb": {
"r": 169,
"g": 141,
"b": 28
},
"hsl": {
"h": 48.085,
"s": 71.574,
"l": 38.627
},
"oklch": {
"l": 0.65077,
"c": 0.12559,
"h": 93.7
},
"luminance": 0.27569
}Semantic roles & 50–950 ramp
primary
#A98D1C
secondary
#596FC8
accent
#5DEE39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A