#A8B337#A8B337
#A8B337 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.145 H 114.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B337 |
|---|---|
| RGB | rgb(168, 179, 55) |
| HSL | hsl(65, 53%, 46%) |
| HSV | hsv(65, 69%, 70%) |
| CMYK | cmyk(6.1%, 0%, 69.3%, 29.8%) |
| CIE-LAB | lab(70.06, -19.69, 58.88) |
| CIE-LCH | lch(70.06, 62.08, 108.49°) |
| OKLab | oklab(73.52% -0.0596 0.1317) |
| OKLCH | oklch(73.52% 0.145 114.4) |
| XYZ | xyz(32.9590, 40.8415, 9.7606) |
| Luminance | 0.4084 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.21
Puke Green
#9AAE07
ΔE00 3.47
Booger
#9BB53C
ΔE00 3.60
Sick Green
#9DB92C
ΔE00 3.68
Snot
#ACBB0D
ΔE00 3.80
Sickly Green
#94B21C
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B337 #4237B3
analogous
#B38037 #A8B337 #6AB337
triadic
#A8B337 #37A8B3 #B337A8
tetradic
#A8B337 #37B380 #4237B3 #B3376A
square
#A8B337 #37B380 #4237B3 #B3376A
split-complementary
#A8B337 #376AB3 #8037B3
monochromatic
#50551A #7C8429 #A8B337 #C2CD5B #D4DB8A
Accessibility & contrast
On white
2.29
#A8B337 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#A8B337 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B337
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B337 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B337 | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA23
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#B3A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b337; /* rgb */ color: rgb(168, 179, 55); /* oklch */ color: oklch(73.5% 0.145 114.4);
Tailwind
colors: {
custom: {
50: '#c5c976',
500: '#a8b337',
950: '#000000',
},
}SCSS
$custom: #a8b337; $custom-light: #c5c976; $custom-dark: #000000;
JSON
{
"hex": "#a8b337",
"rgb": {
"r": 168,
"g": 179,
"b": 55
},
"hsl": {
"h": 65.323,
"s": 52.991,
"l": 45.882
},
"oklch": {
"l": 0.73517,
"c": 0.14454,
"h": 114.4
},
"luminance": 0.40841
}Semantic roles & 50–950 ramp
primary
#A8B337
secondary
#8781C5
accent
#4BDC58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B