#A7B31A#A7B31A
#A7B31A is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.160 H 114.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B31A |
|---|---|
| RGB | rgb(167, 179, 26) |
| HSL | hsl(65, 75%, 40%) |
| HSV | hsv(65, 85%, 70%) |
| CMYK | cmyk(6.7%, 0%, 85.5%, 29.8%) |
| CIE-LAB | lab(69.85, -21.31, 67.50) |
| CIE-LCH | lch(69.85, 70.79, 107.52°) |
| OKLab | oklab(73.28% -0.0663 0.1451) |
| OKLCH | oklch(73.28% 0.16 114.6) |
| XYZ | xyz(32.2439, 40.5309, 7.1018) |
| Luminance | 0.4053 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.04
Snot
#ACBB0D
ΔE00 2.32
Puke Green
#9AAE07
ΔE00 2.54
Barf Green
#94AC02
ΔE00 3.70
Booger Green
#96B403
ΔE00 3.73
Bright Olive
#9CBB04
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B31A #261AB3
analogous
#B3731A #A7B31A #5AB31A
triadic
#A7B31A #1AA7B3 #B31AA7
tetradic
#A7B31A #1AB373 #261AB3 #B31A5A
square
#A7B31A #1AB373 #261AB3 #B31A5A
split-complementary
#A7B31A #1A5AB3 #731AB3
monochromatic
#43480A #757E12 #A7B31A #D2E02A #DDE860
Accessibility & contrast
On white
2.31
#A7B31A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#A7B31A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B31A
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B31A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B31A | 1.00 | 2.31 | 9.11 | 9.11 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2C
Tritanopia (blue-blind)
#B3A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b31a; /* rgb */ color: rgb(167, 179, 26); /* oklch */ color: oklch(73.3% 0.160 114.6);
Tailwind
colors: {
custom: {
50: '#c5c969',
500: '#a7b31a',
950: '#000000',
},
}SCSS
$custom: #a7b31a; $custom-light: #c5c969; $custom-dark: #000000;
JSON
{
"hex": "#a7b31a",
"rgb": {
"r": 167,
"g": 179,
"b": 26
},
"hsl": {
"h": 64.706,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.73278,
"c": 0.15951,
"h": 114.6
},
"luminance": 0.4053
}Semantic roles & 50–950 ramp
primary
#A7B31A
secondary
#655DCC
accent
#37F145
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A