#A7B728#A7B728
#A7B728 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.158 H 116.1°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B728 |
|---|---|
| RGB | rgb(167, 183, 40) |
| HSL | hsl(67, 64%, 44%) |
| HSV | hsv(67, 78%, 72%) |
| CMYK | cmyk(8.7%, 0%, 78.1%, 28.2%) |
| CIE-LAB | lab(71.03, -22.82, 64.89) |
| CIE-LCH | lch(71.03, 68.79, 109.38°) |
| OKLab | oklab(74.25% -0.0696 0.1418) |
| OKLCH | oklch(74.25% 0.158 116.1) |
| XYZ | xyz(33.2538, 42.2362, 8.4077) |
| Luminance | 0.4224 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.99
Snot
#ACBB0D
ΔE00 2.15
Sick Green
#9DB92C
ΔE00 2.69
Pea
#A4BF20
ΔE00 2.75
Puke Green
#9AAE07
ΔE00 3.01
Bright Olive
#9CBB04
ΔE00 3.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B728 #3828B7
analogous
#B77F28 #A7B728 #5FB728
triadic
#A7B728 #28A7B7 #B728A7
tetradic
#A7B728 #28B77F #3828B7 #B7285F
square
#A7B728 #28B77F #3828B7 #B7285F
split-complementary
#A7B728 #285FB7 #7F28B7
monochromatic
#4B5312 #79851D #A7B728 #C6D646 #D6E178
Accessibility & contrast
On white
2.22
#A7B728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#A7B728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B728
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B728 | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a7b728; /* rgb */ color: rgb(167, 183, 40); /* oklch */ color: oklch(74.2% 0.158 116.1);
Tailwind
colors: {
custom: {
50: '#c5cc6f',
500: '#a7b728',
950: '#000000',
},
}SCSS
$custom: #a7b728; $custom-light: #c5cc6f; $custom-dark: #000000;
JSON
{
"hex": "#a7b728",
"rgb": {
"r": 167,
"g": 183,
"b": 40
},
"hsl": {
"h": 66.713,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.74249,
"c": 0.15796,
"h": 116.1
},
"luminance": 0.42236
}Semantic roles & 50–950 ramp
primary
#A7B728
secondary
#7B72C9
accent
#41E753
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B