#A8A537#A8A537
#A8A537 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.130 H 107.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A537 |
|---|---|
| RGB | rgb(168, 165, 55) |
| HSL | hsl(58, 51%, 44%) |
| HSV | hsv(58, 67%, 66%) |
| CMYK | cmyk(0%, 1.8%, 67.3%, 34.1%) |
| CIE-LAB | lab(66.15, -12.53, 54.92) |
| CIE-LCH | lch(66.15, 56.33, 102.85°) |
| OKLab | oklab(70.38% -0.0396 0.1233) |
| OKLCH | oklch(70.38% 0.13 107.8) |
| XYZ | xyz(30.2942, 35.5119, 8.8724) |
| Luminance | 0.3551 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.90
Puke
#A5A502
ΔE00 3.50
Pea Soup Green
#94A617
ΔE00 5.41
Pea Soup
#929901
ΔE00 5.55
Baby Poop Green
#8F9805
ΔE00 6.03
Puke Green
#9AAE07
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A537 #373AA8
analogous
#A86C37 #A8A537 #72A837
triadic
#A8A537 #37A8A5 #A537A8
tetradic
#A8A537 #37A86C #373AA8 #A83772
square
#A8A537 #37A86C #373AA8 #A83772
split-complementary
#A8A537 #3772A8 #6C37A8
monochromatic
#4C4A19 #7A7828 #A8A537 #C7C455 #D6D483
Accessibility & contrast
On white
2.59
#A8A537 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#A8A537 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A537
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A537 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A537 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F27
Deuteranopia (green-blind)
#B4A33E
Tritanopia (blue-blind)
#B49A8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a537; /* rgb */ color: rgb(168, 165, 55); /* oklch */ color: oklch(70.4% 0.130 107.8);
Tailwind
colors: {
custom: {
50: '#c5bf74',
500: '#a8a537',
950: '#000000',
},
}SCSS
$custom: #a8a537; $custom-light: #c5bf74; $custom-dark: #000000;
JSON
{
"hex": "#a8a537",
"rgb": {
"r": 168,
"g": 165,
"b": 55
},
"hsl": {
"h": 58.407,
"s": 50.673,
"l": 43.725
},
"oklch": {
"l": 0.70384,
"c": 0.12953,
"h": 107.8
},
"luminance": 0.35511
}Semantic roles & 50–950 ramp
primary
#A8A537
secondary
#7B7DC0
accent
#51DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B