#A8B028#A8B028
#A8B028 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.150 H 113.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B028 |
|---|---|
| RGB | rgb(168, 176, 40) |
| HSL | hsl(64, 63%, 42%) |
| HSV | hsv(64, 77%, 69%) |
| CMYK | cmyk(4.5%, 0%, 77.3%, 31%) |
| CIE-LAB | lab(69.13, -18.91, 63.19) |
| CIE-LCH | lch(69.13, 65.96, 106.66°) |
| OKLab | oklab(72.74% -0.0588 0.1382) |
| OKLCH | oklch(72.74% 0.15 113.1) |
| XYZ | xyz(32.0578, 39.5294, 7.9483) |
| Luminance | 0.3953 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.38
Puke Green
#9AAE07
ΔE00 2.99
Snot
#ACBB0D
ΔE00 3.56
Vomit
#A2A415
ΔE00 3.61
Puke
#A5A502
ΔE00 3.82
Barf Green
#94AC02
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B028 #3028B0
analogous
#B07428 #A8B028 #64B028
triadic
#A8B028 #28A8B0 #B028A8
tetradic
#A8B028 #28B074 #3028B0 #B02864
square
#A8B028 #28B074 #3028B0 #B02864
split-complementary
#A8B028 #2864B0 #7428B0
monochromatic
#494C11 #787E1D #A8B028 #CBD441 #D9DF73
Accessibility & contrast
On white
2.36
#A8B028 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#A8B028 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B028
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B028 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B028 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#B4A597
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a8b028; /* rgb */ color: rgb(168, 176, 40); /* oklch */ color: oklch(72.7% 0.150 113.1);
Tailwind
colors: {
custom: {
50: '#c6c76e',
500: '#a8b028',
950: '#000000',
},
}SCSS
$custom: #a8b028; $custom-light: #c6c76e; $custom-dark: #000000;
JSON
{
"hex": "#a8b028",
"rgb": {
"r": 168,
"g": 176,
"b": 40
},
"hsl": {
"h": 63.529,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.72743,
"c": 0.15016,
"h": 113.1
},
"luminance": 0.39529
}Semantic roles & 50–950 ramp
primary
#A8B028
secondary
#736DC6
accent
#42E64B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B