#A8B528#A8B528
#A8B528 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.155 H 115.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B528 |
|---|---|
| RGB | rgb(168, 181, 40) |
| HSL | hsl(66, 64%, 43%) |
| HSV | hsv(66, 78%, 71%) |
| CMYK | cmyk(7.2%, 0%, 77.9%, 29%) |
| CIE-LAB | lab(70.54, -21.41, 64.48) |
| CIE-LCH | lch(70.54, 67.94, 108.37°) |
| OKLab | oklab(73.87% -0.0657 0.1409) |
| OKLCH | oklch(73.87% 0.155 115) |
| XYZ | xyz(33.0563, 41.5264, 8.2811) |
| Luminance | 0.4153 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.76
Snot
#ACBB0D
ΔE00 2.35
Puke Green
#9AAE07
ΔE00 2.89
Sick Green
#9DB92C
ΔE00 3.34
Pea
#A4BF20
ΔE00 3.51
Booger Green
#96B403
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B528 #3528B5
analogous
#B57B28 #A8B528 #61B528
triadic
#A8B528 #28A8B5 #B528A8
tetradic
#A8B528 #28B57B #3528B5 #B52861
square
#A8B528 #28B57B #3528B5 #B52861
split-complementary
#A8B528 #2861B5 #7B28B5
monochromatic
#4B5112 #79831D #A8B528 #C8D644 #D7E177
Accessibility & contrast
On white
2.26
#A8B528 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.31
#A8B528 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B528
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B528 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B528 | 1.00 | 2.26 | 9.31 | 9.31 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a8b528; /* rgb */ color: rgb(168, 181, 40); /* oklch */ color: oklch(73.9% 0.155 115.0);
Tailwind
colors: {
custom: {
50: '#c6cb6e',
500: '#a8b528',
950: '#000000',
},
}SCSS
$custom: #a8b528; $custom-light: #c6cb6e; $custom-dark: #000000;
JSON
{
"hex": "#a8b528",
"rgb": {
"r": 168,
"g": 181,
"b": 40
},
"hsl": {
"h": 65.532,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.73874,
"c": 0.15547,
"h": 115
},
"luminance": 0.41526
}Semantic roles & 50–950 ramp
primary
#A8B528
secondary
#7870C8
accent
#41E750
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B