#A8BA28#A8BA28
#A8BA28 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.161 H 116.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BA28 |
|---|---|
| RGB | rgb(168, 186, 40) |
| HSL | hsl(67, 65%, 44%) |
| HSV | hsv(67, 78%, 73%) |
| CMYK | cmyk(9.7%, 0%, 78.5%, 27.1%) |
| CIE-LAB | lab(71.96, -23.88, 65.75) |
| CIE-LCH | lch(71.96, 69.95, 109.96°) |
| OKLab | oklab(75.01% -0.0725 0.1436) |
| OKLCH | oklch(75.01% 0.161 116.8) |
| XYZ | xyz(34.0913, 43.5963, 8.6261) |
| Luminance | 0.4360 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.89
Pea
#A4BF20
ΔE00 2.01
Mustard Green
#A8B504
ΔE00 2.35
Sick Green
#9DB92C
ΔE00 2.47
Gross Green
#A0BF16
ΔE00 2.65
Bright Olive
#9CBB04
ΔE00 2.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BA28 #3A28BA
analogous
#BA8328 #A8BA28 #5FBA28
triadic
#A8BA28 #28A8BA #BA28A8
tetradic
#A8BA28 #28BA83 #3A28BA #BA285F
square
#A8BA28 #28BA83 #3A28BA #BA285F
split-complementary
#A8BA28 #285FBA #8328BA
monochromatic
#4D5512 #7B881D #A8BA28 #C6D848 #D6E27A
Accessibility & contrast
On white
2.16
#A8BA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#A8BA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BA28
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BA28 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C6B136
Tritanopia (blue-blind)
#B3AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a8ba28; /* rgb */ color: rgb(168, 186, 40); /* oklch */ color: oklch(75.0% 0.161 116.8);
Tailwind
colors: {
custom: {
50: '#c6ce6f',
500: '#a8ba28',
950: '#000000',
},
}SCSS
$custom: #a8ba28; $custom-light: #c6ce6f; $custom-dark: #000000;
JSON
{
"hex": "#a8ba28",
"rgb": {
"r": 168,
"g": 186,
"b": 40
},
"hsl": {
"h": 67.397,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.7501,
"c": 0.16089,
"h": 116.8
},
"luminance": 0.43596
}Semantic roles & 50–950 ramp
primary
#A8BA28
secondary
#7E73CA
accent
#40E855
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B