#A0B728#A0B728
#A0B728 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.7% C 0.161 H 118.8°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A0B728 |
|---|---|
| RGB | rgb(160, 183, 40) |
| HSL | hsl(70, 64%, 44%) |
| HSV | hsv(70, 78%, 72%) |
| CMYK | cmyk(12.6%, 0%, 78.1%, 28.2%) |
| CIE-LAB | lab(70.52, -25.77, 64.24) |
| CIE-LCH | lch(70.52, 69.21, 111.86°) |
| OKLab | oklab(73.71% -0.0773 0.1407) |
| OKLCH | oklch(73.71% 0.161 118.8) |
| XYZ | xyz(31.8144, 41.4940, 8.3402) |
| Luminance | 0.4149 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.18
Booger Green
#96B403
ΔE00 2.10
Bright Olive
#9CBB04
ΔE00 2.17
Sickly Green
#94B21C
ΔE00 2.25
Pea
#A4BF20
ΔE00 2.29
Booger
#9BB53C
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0B728 #3F28B7
analogous
#B78628 #A0B728 #58B728
triadic
#A0B728 #28A0B7 #B728A0
tetradic
#A0B728 #28B786 #3F28B7 #B72858
square
#A0B728 #28B786 #3F28B7 #B72858
split-complementary
#A0B728 #2858B7 #8628B7
monochromatic
#485312 #74851D #A0B728 #BFD646 #D0E178
Accessibility & contrast
On white
2.26
#A0B728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#A0B728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A0B728
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0B728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A0B728 | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#AAAD9D
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a0b728; /* rgb */ color: rgb(160, 183, 40); /* oklch */ color: oklch(73.7% 0.161 118.8);
Tailwind
colors: {
custom: {
50: '#c0cc6f',
500: '#a0b728',
950: '#000000',
},
}SCSS
$custom: #a0b728; $custom-light: #c0cc6f; $custom-dark: #000000;
JSON
{
"hex": "#a0b728",
"rgb": {
"r": 160,
"g": 183,
"b": 40
},
"hsl": {
"h": 69.65,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.73708,
"c": 0.16052,
"h": 118.8
},
"luminance": 0.41494
}Semantic roles & 50–950 ramp
primary
#A0B728
secondary
#8072C9
accent
#41E75B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B