#A7B131#A7B131
#A7B131 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.9% C 0.146 H 113.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B131 |
|---|---|
| RGB | rgb(167, 177, 49) |
| HSL | hsl(65, 57%, 44%) |
| HSV | hsv(65, 72%, 69%) |
| CMYK | cmyk(5.6%, 0%, 72.3%, 30.6%) |
| CIE-LAB | lab(69.39, -19.43, 60.40) |
| CIE-LCH | lch(69.39, 63.45, 107.83°) |
| OKLab | oklab(72.94% -0.0594 0.1339) |
| OKLCH | oklch(72.94% 0.146 113.9) |
| XYZ | xyz(32.2138, 39.8822, 8.9062) |
| Luminance | 0.3988 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.89
Puke Green
#9AAE07
ΔE00 3.06
Snot
#ACBB0D
ΔE00 3.78
Barf Green
#94AC02
ΔE00 3.97
Sick Green
#9DB92C
ΔE00 4.03
Booger
#9BB53C
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B131 #3B31B1
analogous
#B17B31 #A7B131 #67B131
triadic
#A7B131 #31A7B1 #B131A7
tetradic
#A7B131 #31B17B #3B31B1 #B13167
square
#A7B131 #31B17B #3B31B1 #B13167
split-complementary
#A7B131 #3167B1 #7B31B1
monochromatic
#4D5116 #7A8124 #A7B131 #C5CF51 #D5DC80
Accessibility & contrast
On white
2.34
#A7B131 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#A7B131 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B131
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B131 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B131 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B2A698
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a7b131; /* rgb */ color: rgb(167, 177, 49); /* oklch */ color: oklch(72.9% 0.146 113.9);
Tailwind
colors: {
custom: {
50: '#c4c872',
500: '#a7b131',
950: '#000000',
},
}SCSS
$custom: #a7b131; $custom-light: #c4c872; $custom-dark: #000000;
JSON
{
"hex": "#a7b131",
"rgb": {
"r": 167,
"g": 177,
"b": 49
},
"hsl": {
"h": 64.688,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.72941,
"c": 0.14648,
"h": 113.9
},
"luminance": 0.39882
}Semantic roles & 50–950 ramp
primary
#A7B131
secondary
#7F79C5
accent
#48E054
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B