#A7B031#A7B031
#A7B031 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.145 H 113.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B031 |
|---|---|
| RGB | rgb(167, 176, 49) |
| HSL | hsl(64, 56%, 44%) |
| HSV | hsv(64, 72%, 69%) |
| CMYK | cmyk(5.1%, 0%, 72.2%, 31%) |
| CIE-LAB | lab(69.10, -18.93, 60.13) |
| CIE-LCH | lch(69.10, 63.04, 107.48°) |
| OKLab | oklab(72.72% -0.058 0.1333) |
| OKLCH | oklch(72.72% 0.145 113.5) |
| XYZ | xyz(32.0170, 39.4886, 8.8406) |
| Luminance | 0.3949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.04
Puke Green
#9AAE07
ΔE00 3.14
Vomit
#A2A415
ΔE00 3.95
Snot
#ACBB0D
ΔE00 4.02
Barf Green
#94AC02
ΔE00 4.03
Pea Soup Green
#94A617
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B031 #3A31B0
analogous
#B07A31 #A7B031 #68B031
triadic
#A7B031 #31A7B0 #B031A7
tetradic
#A7B031 #31B07A #3A31B0 #B03168
square
#A7B031 #31B07A #3A31B0 #B03168
split-complementary
#A7B031 #3168B0 #7A31B0
monochromatic
#4C5016 #7A8024 #A7B031 #C5CE50 #D5DC80
Accessibility & contrast
On white
2.36
#A7B031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#A7B031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B031
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B031 | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#B2A597
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a7b031; /* rgb */ color: rgb(167, 176, 49); /* oklch */ color: oklch(72.7% 0.145 113.5);
Tailwind
colors: {
custom: {
50: '#c4c772',
500: '#a7b031',
950: '#000000',
},
}SCSS
$custom: #a7b031; $custom-light: #c4c772; $custom-dark: #000000;
JSON
{
"hex": "#a7b031",
"rgb": {
"r": 167,
"g": 176,
"b": 49
},
"hsl": {
"h": 64.252,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.72716,
"c": 0.14538,
"h": 113.5
},
"luminance": 0.39488
}Semantic roles & 50–950 ramp
primary
#A7B031
secondary
#7E78C5
accent
#48E053
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B