#A8B537#A8B537
#A8B537 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.0% C 0.147 H 115.2°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B537 |
|---|---|
| RGB | rgb(168, 181, 55) |
| HSL | hsl(66, 53%, 46%) |
| HSV | hsv(66, 70%, 71%) |
| CMYK | cmyk(7.2%, 0%, 69.6%, 29%) |
| CIE-LAB | lab(70.63, -20.69, 59.44) |
| CIE-LCH | lch(70.63, 62.94, 109.19°) |
| OKLab | oklab(73.97% -0.0624 0.1329) |
| OKLCH | oklch(73.97% 0.147 115.2) |
| XYZ | xyz(33.3628, 41.6490, 9.8952) |
| Luminance | 0.4165 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.12
Sick Green
#9DB92C
ΔE00 3.15
Booger
#9BB53C
ΔE00 3.27
Snot
#ACBB0D
ΔE00 3.48
Puke Green
#9AAE07
ΔE00 3.51
Pea
#A4BF20
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B537 #4437B5
analogous
#B58337 #A8B537 #69B537
triadic
#A8B537 #37A8B5 #B537A8
tetradic
#A8B537 #37B583 #4437B5 #B53769
square
#A8B537 #37B583 #4437B5 #B53769
split-complementary
#A8B537 #3769B5 #8337B5
monochromatic
#51571A #7C8629 #A8B537 #C2CD5C #D3DC8B
Accessibility & contrast
On white
2.25
#A8B537 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#A8B537 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B537
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B537 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B537 | 1.00 | 2.25 | 9.33 | 9.33 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#B3AB9C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a8b537; /* rgb */ color: rgb(168, 181, 55); /* oklch */ color: oklch(74.0% 0.147 115.2);
Tailwind
colors: {
custom: {
50: '#c5cb76',
500: '#a8b537',
950: '#000000',
},
}SCSS
$custom: #a8b537; $custom-light: #c5cb76; $custom-dark: #000000;
JSON
{
"hex": "#a8b537",
"rgb": {
"r": 168,
"g": 181,
"b": 55
},
"hsl": {
"h": 66.19,
"s": 53.39,
"l": 46.275
},
"oklch": {
"l": 0.73969,
"c": 0.14678,
"h": 115.2
},
"luminance": 0.41648
}Semantic roles & 50–950 ramp
primary
#A8B537
secondary
#8982C6
accent
#4BDD5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B