#A5B72B#A5B72B
#A5B72B is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.1% C 0.157 H 116.9°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B72B |
|---|---|
| RGB | rgb(165, 183, 43) |
| HSL | hsl(68, 62%, 44%) |
| HSV | hsv(68, 77%, 72%) |
| CMYK | cmyk(9.8%, 0%, 76.5%, 28.2%) |
| CIE-LAB | lab(70.90, -23.54, 63.79) |
| CIE-LCH | lch(70.90, 68.00, 110.26°) |
| OKLab | oklab(74.11% -0.0712 0.1401) |
| OKLCH | oklch(74.11% 0.157 116.9) |
| XYZ | xyz(32.8874, 42.0411, 8.6673) |
| Luminance | 0.4204 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.14
Mustard Green
#A8B504
ΔE00 2.51
Pea
#A4BF20
ΔE00 2.58
Snot
#ACBB0D
ΔE00 2.62
Bright Olive
#9CBB04
ΔE00 2.84
Booger Green
#96B403
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B72B #3D2BB7
analogous
#B7832B #A5B72B #5FB72B
triadic
#A5B72B #2BA5B7 #B72BA5
tetradic
#A5B72B #2BB783 #3D2BB7 #B72B5F
square
#A5B72B #2BB783 #3D2BB7 #B72B5F
split-complementary
#A5B72B #2B5FB7 #832BB7
monochromatic
#4C5414 #78851F #A5B72B #C3D54B #D3E07C
Accessibility & contrast
On white
2.23
#A5B72B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#A5B72B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B72B
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B72B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B72B | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD04
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#B0AC9D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a5b72b; /* rgb */ color: rgb(165, 183, 43); /* oklch */ color: oklch(74.1% 0.157 116.9);
Tailwind
colors: {
custom: {
50: '#c3cc70',
500: '#a5b72b',
950: '#000000',
},
}SCSS
$custom: #a5b72b; $custom-light: #c3cc70; $custom-dark: #000000;
JSON
{
"hex": "#a5b72b",
"rgb": {
"r": 165,
"g": 183,
"b": 43
},
"hsl": {
"h": 67.714,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.74108,
"c": 0.15714,
"h": 116.9
},
"luminance": 0.42041
}Semantic roles & 50–950 ramp
primary
#A5B72B
secondary
#8075C9
accent
#43E558
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B