#A7B028#A7B028
#A7B028 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.150 H 113.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B028 |
|---|---|
| RGB | rgb(167, 176, 40) |
| HSL | hsl(64, 63%, 42%) |
| HSV | hsv(64, 77%, 69%) |
| CMYK | cmyk(5.1%, 0%, 77.3%, 31%) |
| CIE-LAB | lab(69.05, -19.34, 63.09) |
| CIE-LCH | lch(69.05, 65.99, 107.04°) |
| OKLab | oklab(72.66% -0.0599 0.138) |
| OKLCH | oklch(72.66% 0.15 113.5) |
| XYZ | xyz(31.8457, 39.4200, 7.9383) |
| Luminance | 0.3942 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.37
Puke Green
#9AAE07
ΔE00 2.79
Snot
#ACBB0D
ΔE00 3.54
Vomit
#A2A415
ΔE00 3.68
Barf Green
#94AC02
ΔE00 3.82
Puke
#A5A502
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B028 #3128B0
analogous
#B07528 #A7B028 #63B028
triadic
#A7B028 #28A7B0 #B028A7
tetradic
#A7B028 #28B075 #3128B0 #B02863
square
#A7B028 #28B075 #3128B0 #B02863
split-complementary
#A7B028 #2863B0 #7528B0
monochromatic
#484C11 #787E1D #A7B028 #CAD441 #D8DF73
Accessibility & contrast
On white
2.36
#A7B028 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#A7B028 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B028
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B028 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B028 | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#B3A597
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a7b028; /* rgb */ color: rgb(167, 176, 40); /* oklch */ color: oklch(72.7% 0.150 113.5);
Tailwind
colors: {
custom: {
50: '#c5c76e',
500: '#a7b028',
950: '#000000',
},
}SCSS
$custom: #a7b028; $custom-light: #c5c76e; $custom-dark: #000000;
JSON
{
"hex": "#a7b028",
"rgb": {
"r": 167,
"g": 176,
"b": 40
},
"hsl": {
"h": 63.971,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.72661,
"c": 0.15046,
"h": 113.5
},
"luminance": 0.39419
}Semantic roles & 50–950 ramp
primary
#A7B028
secondary
#736DC6
accent
#42E64D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B