#A8B328#A8B328
#A8B328 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.153 H 114.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B328 |
|---|---|
| RGB | rgb(168, 179, 40) |
| HSL | hsl(65, 63%, 43%) |
| HSV | hsv(65, 78%, 70%) |
| CMYK | cmyk(6.1%, 0%, 77.7%, 29.8%) |
| CIE-LAB | lab(69.98, -20.41, 63.96) |
| CIE-LCH | lch(69.98, 67.14, 107.70°) |
| OKLab | oklab(73.42% -0.063 0.1398) |
| OKLCH | oklch(73.42% 0.153 114.2) |
| XYZ | xyz(32.6526, 40.7189, 8.1465) |
| Luminance | 0.4072 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.87
Snot
#ACBB0D
ΔE00 2.78
Puke Green
#9AAE07
ΔE00 2.82
Sick Green
#9DB92C
ΔE00 3.83
Barf Green
#94AC02
ΔE00 3.90
Booger Green
#96B403
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B328 #3328B3
analogous
#B37828 #A8B328 #63B328
triadic
#A8B328 #28A8B3 #B328A8
tetradic
#A8B328 #28B378 #3328B3 #B32863
square
#A8B328 #28B378 #3328B3 #B32863
split-complementary
#A8B328 #2863B3 #7828B3
monochromatic
#4A4F12 #79811D #A8B328 #C9D543 #D8E075
Accessibility & contrast
On white
2.30
#A8B328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#A8B328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B328
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B328 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#B3A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b328; /* rgb */ color: rgb(168, 179, 40); /* oklch */ color: oklch(73.4% 0.153 114.2);
Tailwind
colors: {
custom: {
50: '#c6c96e',
500: '#a8b328',
950: '#000000',
},
}SCSS
$custom: #a8b328; $custom-light: #c6c96e; $custom-dark: #000000;
JSON
{
"hex": "#a8b328",
"rgb": {
"r": 168,
"g": 179,
"b": 40
},
"hsl": {
"h": 64.748,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.73421,
"c": 0.15333,
"h": 114.2
},
"luminance": 0.40718
}Semantic roles & 50–950 ramp
primary
#A8B328
secondary
#766FC8
accent
#41E64E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B