#A7B127#A7B127
#A7B127 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 | #A7B127 |
|---|---|
| RGB | rgb(167, 177, 39) |
| HSL | hsl(64, 64%, 42%) |
| HSV | hsv(64, 78%, 69%) |
| CMYK | cmyk(5.6%, 0%, 78%, 30.6%) |
| CIE-LAB | lab(69.33, -19.88, 63.65) |
| CIE-LCH | lch(69.33, 66.69, 107.35°) |
| OKLab | oklab(72.88% -0.0615 0.139) |
| OKLCH | oklch(72.88% 0.152 113.9) |
| XYZ | xyz(32.0257, 39.8069, 7.9155) |
| Luminance | 0.3981 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.11
Puke Green
#9AAE07
ΔE00 2.68
Snot
#ACBB0D
ΔE00 3.24
Barf Green
#94AC02
ΔE00 3.75
Vomit
#A2A415
ΔE00 3.97
Pea Soup Green
#94A617
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B127 #3127B1
analogous
#B17627 #A7B127 #62B127
triadic
#A7B127 #27A7B1 #B127A7
tetradic
#A7B127 #27B176 #3127B1 #B12762
square
#A7B127 #27B176 #3127B1 #B12762
split-complementary
#A7B127 #2762B1 #7627B1
monochromatic
#484D11 #787F1C #A7B127 #CAD540 #D8E072
Accessibility & contrast
On white
2.34
#A7B127 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#A7B127 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B127
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B127 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B127 | 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)
#BEAB34
Tritanopia (blue-blind)
#B2A698
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a7b127; /* rgb */ color: rgb(167, 177, 39); /* oklch */ color: oklch(72.9% 0.152 113.9);
Tailwind
colors: {
custom: {
50: '#c5c86d',
500: '#a7b127',
950: '#000000',
},
}SCSS
$custom: #a7b127; $custom-light: #c5c86d; $custom-dark: #000000;
JSON
{
"hex": "#a7b127",
"rgb": {
"r": 167,
"g": 177,
"b": 39
},
"hsl": {
"h": 64.348,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.72881,
"c": 0.15201,
"h": 113.9
},
"luminance": 0.39806
}Semantic roles & 50–950 ramp
primary
#A7B127
secondary
#736DC7
accent
#41E74D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B