#A7B31E#A7B31E
#A7B31E is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.158 H 114.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B31E |
|---|---|
| RGB | rgb(167, 179, 30) |
| HSL | hsl(65, 71%, 41%) |
| HSV | hsv(65, 83%, 70%) |
| CMYK | cmyk(6.7%, 0%, 83.2%, 29.8%) |
| CIE-LAB | lab(69.86, -21.19, 66.59) |
| CIE-LCH | lch(69.86, 69.88, 107.66°) |
| OKLab | oklab(73.29% -0.0658 0.1437) |
| OKLCH | oklch(73.29% 0.158 114.6) |
| XYZ | xyz(32.2918, 40.5501, 7.3539) |
| Luminance | 0.4055 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.25
Snot
#ACBB0D
ΔE00 2.41
Puke Green
#9AAE07
ΔE00 2.53
Barf Green
#94AC02
ΔE00 3.68
Booger Green
#96B403
ΔE00 3.71
Sick Green
#9DB92C
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B31E #2A1EB3
analogous
#B3741E #A7B31E #5CB31E
triadic
#A7B31E #1EA7B3 #B31EA7
tetradic
#A7B31E #1EB374 #2A1EB3 #B31E5C
square
#A7B31E #1EB374 #2A1EB3 #B31E5C
split-complementary
#A7B31E #1E5CB3 #741EB3
monochromatic
#454A0C #767F15 #A7B31E #CFDD32 #DBE566
Accessibility & contrast
On white
2.31
#A7B31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#A7B31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B31E
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B31E | 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)
#C0AC2E
Tritanopia (blue-blind)
#B3A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b31e; /* rgb */ color: rgb(167, 179, 30); /* oklch */ color: oklch(73.3% 0.158 114.6);
Tailwind
colors: {
custom: {
50: '#c5c96a',
500: '#a7b31e',
950: '#000000',
},
}SCSS
$custom: #a7b31e; $custom-light: #c5c96a; $custom-dark: #000000;
JSON
{
"hex": "#a7b31e",
"rgb": {
"r": 167,
"g": 179,
"b": 30
},
"hsl": {
"h": 64.832,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.73293,
"c": 0.15806,
"h": 114.6
},
"luminance": 0.40549
}Semantic roles & 50–950 ramp
primary
#A7B31E
secondary
#6B62CB
accent
#3AEE48
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A