#A7B126#A7B126
#A7B126 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.152 H 113.9°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B126 |
|---|---|
| RGB | rgb(167, 177, 38) |
| HSL | hsl(64, 65%, 42%) |
| HSV | hsv(64, 79%, 69%) |
| CMYK | cmyk(5.6%, 0%, 78.5%, 30.6%) |
| CIE-LAB | lab(69.33, -19.92, 63.95) |
| CIE-LCH | lch(69.33, 66.98, 107.30°) |
| OKLab | oklab(72.88% -0.0617 0.1395) |
| OKLCH | oklch(72.88% 0.153 113.9) |
| XYZ | xyz(32.0093, 39.8004, 7.8294) |
| Luminance | 0.3980 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.05
Puke Green
#9AAE07
ΔE00 2.66
Snot
#ACBB0D
ΔE00 3.20
Barf Green
#94AC02
ΔE00 3.74
Vomit
#A2A415
ΔE00 3.95
Pea Soup Green
#94A617
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B126 #3026B1
analogous
#B17626 #A7B126 #61B126
triadic
#A7B126 #26A7B1 #B126A7
tetradic
#A7B126 #26B176 #3026B1 #B12661
square
#A7B126 #26B176 #3026B1 #B12661
split-complementary
#A7B126 #2661B1 #7626B1
monochromatic
#484C10 #777F1B #A7B126 #CBD63F #D8E071
Accessibility & contrast
On white
2.34
#A7B126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#A7B126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B126
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B126 | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BEAB33
Tritanopia (blue-blind)
#B2A697
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a7b126; /* rgb */ color: rgb(167, 177, 38); /* oklch */ color: oklch(72.9% 0.152 113.9);
Tailwind
colors: {
custom: {
50: '#c5c86d',
500: '#a7b126',
950: '#000000',
},
}SCSS
$custom: #a7b126; $custom-light: #c5c86d; $custom-dark: #000000;
JSON
{
"hex": "#a7b126",
"rgb": {
"r": 167,
"g": 177,
"b": 38
},
"hsl": {
"h": 64.317,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.72876,
"c": 0.1525,
"h": 113.9
},
"luminance": 0.398
}Semantic roles & 50–950 ramp
primary
#A7B126
secondary
#726BC7
accent
#40E84C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A