#A5B72E#A5B72E
#A5B72E is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.1% C 0.156 H 117.0°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B72E |
|---|---|
| RGB | rgb(165, 183, 46) |
| HSL | hsl(68, 60%, 45%) |
| HSV | hsv(68, 75%, 72%) |
| CMYK | cmyk(9.8%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(70.92, -23.41, 62.84) |
| CIE-LCH | lch(70.92, 67.05, 110.43°) |
| OKLab | oklab(74.13% -0.0706 0.1386) |
| OKLCH | oklch(74.13% 0.156 117) |
| XYZ | xyz(32.9445, 42.0640, 8.9679) |
| Luminance | 0.4206 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.07
Pea
#A4BF20
ΔE00 2.66
Mustard Green
#A8B504
ΔE00 2.74
Snot
#ACBB0D
ΔE00 2.84
Booger
#9BB53C
ΔE00 2.96
Bright Olive
#9CBB04
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B72E #402EB7
analogous
#B7842E #A5B72E #61B72E
triadic
#A5B72E #2EA5B7 #B72EA5
tetradic
#A5B72E #2EB784 #402EB7 #B72E61
square
#A5B72E #2EB784 #402EB7 #B72E61
split-complementary
#A5B72E #2E61B7 #842EB7
monochromatic
#4D5515 #798622 #A5B72E #C2D34F #D3DF80
Accessibility & contrast
On white
2.23
#A5B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#A5B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B72E
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B72E | 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)
#C4AD0E
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#AFAD9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b72e; /* rgb */ color: rgb(165, 183, 46); /* oklch */ color: oklch(74.1% 0.156 117.0);
Tailwind
colors: {
custom: {
50: '#c3cc71',
500: '#a5b72e',
950: '#000000',
},
}SCSS
$custom: #a5b72e; $custom-light: #c3cc71; $custom-dark: #000000;
JSON
{
"hex": "#a5b72e",
"rgb": {
"r": 165,
"g": 183,
"b": 46
},
"hsl": {
"h": 67.883,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.74126,
"c": 0.15552,
"h": 117
},
"luminance": 0.42064
}Semantic roles & 50–950 ramp
primary
#A5B72E
secondary
#8379C8
accent
#45E35A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B