#A8B928#A8B928
#A8B928 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.8% C 0.160 H 116.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B928 |
|---|---|
| RGB | rgb(168, 185, 40) |
| HSL | hsl(67, 64%, 44%) |
| HSV | hsv(67, 78%, 73%) |
| CMYK | cmyk(9.2%, 0%, 78.4%, 27.5%) |
| CIE-LAB | lab(71.67, -23.38, 65.50) |
| CIE-LCH | lch(71.67, 69.55, 109.65°) |
| OKLab | oklab(74.78% -0.0712 0.1431) |
| OKLCH | oklch(74.78% 0.16 116.4) |
| XYZ | xyz(33.8813, 43.1764, 8.5561) |
| Luminance | 0.4318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.90
Mustard Green
#A8B504
ΔE00 2.16
Pea
#A4BF20
ΔE00 2.30
Sick Green
#9DB92C
ΔE00 2.59
Bright Olive
#9CBB04
ΔE00 2.83
Gross Green
#A0BF16
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B928 #3928B9
analogous
#B98128 #A8B928 #60B928
triadic
#A8B928 #28A8B9 #B928A8
tetradic
#A8B928 #28B981 #3928B9 #B92860
square
#A8B928 #28B981 #3928B9 #B92860
split-complementary
#A8B928 #2860B9 #8128B9
monochromatic
#4D5412 #7A871D #A8B928 #C6D747 #D6E279
Accessibility & contrast
On white
2.18
#A8B928 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#A8B928 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B928
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B928 | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#B3AE9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a8b928; /* rgb */ color: rgb(168, 185, 40); /* oklch */ color: oklch(74.8% 0.160 116.4);
Tailwind
colors: {
custom: {
50: '#c6cd6f',
500: '#a8b928',
950: '#000000',
},
}SCSS
$custom: #a8b928; $custom-light: #c6cd6f; $custom-dark: #000000;
JSON
{
"hex": "#a8b928",
"rgb": {
"r": 168,
"g": 185,
"b": 40
},
"hsl": {
"h": 67.034,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.74782,
"c": 0.1598,
"h": 116.4
},
"luminance": 0.43176
}Semantic roles & 50–950 ramp
primary
#A8B928
secondary
#7D73CA
accent
#40E754
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B