#A8B526#A8B526
#A8B526 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.156 H 115.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B526 |
|---|---|
| RGB | rgb(168, 181, 38) |
| HSL | hsl(65, 65%, 43%) |
| HSV | hsv(65, 79%, 71%) |
| CMYK | cmyk(7.2%, 0%, 79%, 29%) |
| CIE-LAB | lab(70.53, -21.49, 65.06) |
| CIE-LCH | lch(70.53, 68.52, 108.28°) |
| OKLab | oklab(73.86% -0.0661 0.1418) |
| OKLCH | oklch(73.86% 0.156 115) |
| XYZ | xyz(33.0232, 41.5131, 8.1066) |
| Luminance | 0.4151 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.60
Snot
#ACBB0D
ΔE00 2.24
Puke Green
#9AAE07
ΔE00 2.86
Sick Green
#9DB92C
ΔE00 3.39
Pea
#A4BF20
ΔE00 3.50
Booger Green
#96B403
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B526 #3326B5
analogous
#B57B26 #A8B526 #60B526
triadic
#A8B526 #26A8B5 #B526A8
tetradic
#A8B526 #26B57B #3326B5 #B52660
square
#A8B526 #26B57B #3326B5 #B52660
split-complementary
#A8B526 #2660B5 #7B26B5
monochromatic
#4A5011 #79821B #A8B526 #C9D741 #D8E274
Accessibility & contrast
On white
2.26
#A8B526 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#A8B526 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B526
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B526 | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a8b526; /* rgb */ color: rgb(168, 181, 38); /* oklch */ color: oklch(73.9% 0.156 115.0);
Tailwind
colors: {
custom: {
50: '#c6cb6e',
500: '#a8b526',
950: '#000000',
},
}SCSS
$custom: #a8b526; $custom-light: #c6cb6e; $custom-dark: #000000;
JSON
{
"hex": "#a8b526",
"rgb": {
"r": 168,
"g": 181,
"b": 38
},
"hsl": {
"h": 65.455,
"s": 65.297,
"l": 42.941
},
"oklch": {
"l": 0.73863,
"c": 0.15644,
"h": 115
},
"luminance": 0.41513
}Semantic roles & 50–950 ramp
primary
#A8B526
secondary
#766EC9
accent
#40E84F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B