#A8B31E#A8B31E
#A8B31E is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.158 H 114.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B31E |
|---|---|
| RGB | rgb(168, 179, 30) |
| HSL | hsl(64, 71%, 41%) |
| HSV | hsv(64, 83%, 70%) |
| CMYK | cmyk(6.1%, 0%, 83.2%, 29.8%) |
| CIE-LAB | lab(69.94, -20.76, 66.68) |
| CIE-LCH | lch(69.94, 69.84, 107.30°) |
| OKLab | oklab(73.37% -0.0646 0.1439) |
| OKLCH | oklch(73.37% 0.158 114.2) |
| XYZ | xyz(32.5039, 40.6594, 7.3639) |
| Luminance | 0.4066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.22
Snot
#ACBB0D
ΔE00 2.40
Puke Green
#9AAE07
ΔE00 2.72
Barf Green
#94AC02
ΔE00 3.88
Booger Green
#96B403
ΔE00 3.95
Sick Green
#9DB92C
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B31E #291EB3
analogous
#B3741E #A8B31E #5DB31E
triadic
#A8B31E #1EA8B3 #B31EA8
tetradic
#A8B31E #1EB374 #291EB3 #B31E5D
square
#A8B31E #1EB374 #291EB3 #B31E5D
split-complementary
#A8B31E #1E5DB3 #741EB3
monochromatic
#464A0C #777F15 #A8B31E #D0DD32 #DCE566
Accessibility & contrast
On white
2.30
#A8B31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#A8B31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B31E
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B31E | 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)
#C0AC2E
Tritanopia (blue-blind)
#B4A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b31e; /* rgb */ color: rgb(168, 179, 30); /* oklch */ color: oklch(73.4% 0.158 114.2);
Tailwind
colors: {
custom: {
50: '#c6c96a',
500: '#a8b31e',
950: '#000000',
},
}SCSS
$custom: #a8b31e; $custom-light: #c6c96a; $custom-dark: #000000;
JSON
{
"hex": "#a8b31e",
"rgb": {
"r": 168,
"g": 179,
"b": 30
},
"hsl": {
"h": 64.43,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.73374,
"c": 0.15775,
"h": 114.2
},
"luminance": 0.40659
}Semantic roles & 50–950 ramp
primary
#A8B31E
secondary
#6A62CB
accent
#3AEE47
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A