#A8B534#A8B534
#A8B534 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.9% C 0.149 H 115.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B534 |
|---|---|
| RGB | rgb(168, 181, 52) |
| HSL | hsl(66, 55%, 46%) |
| HSV | hsv(66, 71%, 71%) |
| CMYK | cmyk(7.2%, 0%, 71.3%, 29%) |
| CIE-LAB | lab(70.61, -20.86, 60.53) |
| CIE-LCH | lch(70.61, 64.03, 109.01°) |
| OKLab | oklab(73.95% -0.0631 0.1347) |
| OKLCH | oklch(73.95% 0.149 115.1) |
| XYZ | xyz(33.2930, 41.6211, 9.5280) |
| Luminance | 0.4162 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.82
Sick Green
#9DB92C
ΔE00 3.14
Snot
#ACBB0D
ΔE00 3.21
Puke Green
#9AAE07
ΔE00 3.33
Booger
#9BB53C
ΔE00 3.42
Pea
#A4BF20
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B534 #4134B5
analogous
#B58234 #A8B534 #67B534
triadic
#A8B534 #34A8B5 #B534A8
tetradic
#A8B534 #34B582 #4134B5 #B53467
square
#A8B534 #34B582 #4134B5 #B53467
split-complementary
#A8B534 #3467B5 #8234B5
monochromatic
#505619 #7C8526 #A8B534 #C3CF57 #D4DC87
Accessibility & contrast
On white
2.25
#A8B534 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#A8B534 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B534
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B534 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B534 | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC1D
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#B3AA9C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a8b534; /* rgb */ color: rgb(168, 181, 52); /* oklch */ color: oklch(73.9% 0.149 115.1);
Tailwind
colors: {
custom: {
50: '#c5cb74',
500: '#a8b534',
950: '#000000',
},
}SCSS
$custom: #a8b534; $custom-light: #c5cb74; $custom-dark: #000000;
JSON
{
"hex": "#a8b534",
"rgb": {
"r": 168,
"g": 181,
"b": 52
},
"hsl": {
"h": 66.047,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.73947,
"c": 0.14872,
"h": 115.1
},
"luminance": 0.41621
}Semantic roles & 50–950 ramp
primary
#A8B534
secondary
#867FC6
accent
#49DF58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B