#A5B42D#A5B42D
#A5B42D is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.153 H 115.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B42D |
|---|---|
| RGB | rgb(165, 180, 45) |
| HSL | hsl(67, 60%, 44%) |
| HSV | hsv(67, 75%, 71%) |
| CMYK | cmyk(8.3%, 0%, 75%, 29.4%) |
| CIE-LAB | lab(70.06, -21.97, 62.36) |
| CIE-LCH | lch(70.06, 66.12, 109.41°) |
| OKLab | oklab(73.44% -0.0667 0.1374) |
| OKLCH | oklch(73.44% 0.153 115.9) |
| XYZ | xyz(32.3128, 40.8318, 8.6612) |
| Luminance | 0.4083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.48
Puke Green
#9AAE07
ΔE00 2.64
Sick Green
#9DB92C
ΔE00 2.81
Snot
#ACBB0D
ΔE00 3.07
Booger
#9BB53C
ΔE00 3.29
Booger Green
#96B403
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B42D #3C2DB4
analogous
#B4802D #A5B42D #62B42D
triadic
#A5B42D #2DA5B4 #B42DA5
tetradic
#A5B42D #2DB480 #3C2DB4 #B42D62
square
#A5B42D #2DB480 #3C2DB4 #B42D62
split-complementary
#A5B42D #2D62B4 #802DB4
monochromatic
#4B5215 #788321 #A5B42D #C3D24C #D4DE7D
Accessibility & contrast
On white
2.29
#A5B42D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#A5B42D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B42D
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B42D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B42D | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA0D
Deuteranopia (green-blind)
#C0AC39
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a5b42d; /* rgb */ color: rgb(165, 180, 45); /* oklch */ color: oklch(73.4% 0.153 115.9);
Tailwind
colors: {
custom: {
50: '#c3ca71',
500: '#a5b42d',
950: '#000000',
},
}SCSS
$custom: #a5b42d; $custom-light: #c3ca71; $custom-dark: #000000;
JSON
{
"hex": "#a5b42d",
"rgb": {
"r": 165,
"g": 180,
"b": 45
},
"hsl": {
"h": 66.667,
"s": 60,
"l": 44.118
},
"oklch": {
"l": 0.73436,
"c": 0.15274,
"h": 115.9
},
"luminance": 0.40831
}Semantic roles & 50–950 ramp
primary
#A5B42D
secondary
#7F76C7
accent
#45E356
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B