#A8B536#A8B536
#A8B536 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 | #A8B536 |
|---|---|
| RGB | rgb(168, 181, 54) |
| HSL | hsl(66, 54%, 46%) |
| HSV | hsv(66, 70%, 71%) |
| CMYK | cmyk(7.2%, 0%, 70.2%, 29%) |
| CIE-LAB | lab(70.62, -20.75, 59.81) |
| CIE-LCH | lch(70.62, 63.31, 109.13°) |
| OKLab | oklab(73.96% -0.0627 0.1335) |
| OKLCH | oklch(73.96% 0.147 115.2) |
| XYZ | xyz(33.3391, 41.6395, 9.7703) |
| Luminance | 0.4164 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.02
Sick Green
#9DB92C
ΔE00 3.15
Booger
#9BB53C
ΔE00 3.32
Snot
#ACBB0D
ΔE00 3.39
Puke Green
#9AAE07
ΔE00 3.45
Pea
#A4BF20
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B536 #4336B5
analogous
#B58236 #A8B536 #68B536
triadic
#A8B536 #36A8B5 #B536A8
tetradic
#A8B536 #36B582 #4336B5 #B53668
square
#A8B536 #36B582 #4336B5 #B53668
split-complementary
#A8B536 #3668B5 #8236B5
monochromatic
#50571A #7C8628 #A8B536 #C2CE5A #D3DC89
Accessibility & contrast
On white
2.25
#A8B536 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#A8B536 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B536
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B536 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B536 | 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)
#C2AC21
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#B3AB9C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a8b536; /* rgb */ color: rgb(168, 181, 54); /* oklch */ color: oklch(74.0% 0.147 115.2);
Tailwind
colors: {
custom: {
50: '#c5cb75',
500: '#a8b536',
950: '#000000',
},
}SCSS
$custom: #a8b536; $custom-light: #c5cb75; $custom-dark: #000000;
JSON
{
"hex": "#a8b536",
"rgb": {
"r": 168,
"g": 181,
"b": 54
},
"hsl": {
"h": 66.142,
"s": 54.043,
"l": 46.078
},
"oklch": {
"l": 0.73962,
"c": 0.14744,
"h": 115.2
},
"luminance": 0.41639
}Semantic roles & 50–950 ramp
primary
#A8B536
secondary
#8881C6
accent
#4ADD59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B