#A8B31A#A8B31A
#A8B31A is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.159 H 114.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B31A |
|---|---|
| RGB | rgb(168, 179, 26) |
| HSL | hsl(64, 75%, 40%) |
| HSV | hsv(64, 85%, 70%) |
| CMYK | cmyk(6.1%, 0%, 85.5%, 29.8%) |
| CIE-LAB | lab(69.92, -20.88, 67.60) |
| CIE-LCH | lch(69.92, 70.75, 107.16°) |
| OKLab | oklab(73.36% -0.0652 0.1452) |
| OKLCH | oklch(73.36% 0.159 114.2) |
| XYZ | xyz(32.4561, 40.6403, 7.1117) |
| Luminance | 0.4064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.02
Snot
#ACBB0D
ΔE00 2.32
Puke Green
#9AAE07
ΔE00 2.73
Barf Green
#94AC02
ΔE00 3.91
Booger Green
#96B403
ΔE00 3.97
Pea
#A4BF20
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B31A #251AB3
analogous
#B3721A #A8B31A #5BB31A
triadic
#A8B31A #1AA8B3 #B31AA8
tetradic
#A8B31A #1AB372 #251AB3 #B31A5B
square
#A8B31A #1AB372 #251AB3 #B31A5B
split-complementary
#A8B31A #1A5BB3 #721AB3
monochromatic
#44480A #767E12 #A8B31A #D3E02A #DEE860
Accessibility & contrast
On white
2.30
#A8B31A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#A8B31A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B31A
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B31A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B31A | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2C
Tritanopia (blue-blind)
#B4A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b31a; /* rgb */ color: rgb(168, 179, 26); /* oklch */ color: oklch(73.4% 0.159 114.2);
Tailwind
colors: {
custom: {
50: '#c6c969',
500: '#a8b31a',
950: '#000000',
},
}SCSS
$custom: #a8b31a; $custom-light: #c6c969; $custom-dark: #000000;
JSON
{
"hex": "#a8b31a",
"rgb": {
"r": 168,
"g": 179,
"b": 26
},
"hsl": {
"h": 64.314,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.73359,
"c": 0.15919,
"h": 114.2
},
"luminance": 0.4064
}Semantic roles & 50–950 ramp
primary
#A8B31A
secondary
#655DCC
accent
#37F144
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A