#A5B325#A5B325
#A5B325 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.156 H 115.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B325 |
|---|---|
| RGB | rgb(165, 179, 37) |
| HSL | hsl(66, 66%, 42%) |
| HSV | hsv(66, 79%, 70%) |
| CMYK | cmyk(7.8%, 0%, 79.3%, 29.8%) |
| CIE-LAB | lab(69.73, -21.81, 64.55) |
| CIE-LCH | lch(69.73, 68.13, 108.67°) |
| OKLab | oklab(73.16% -0.0669 0.1406) |
| OKLCH | oklch(73.16% 0.156 115.4) |
| XYZ | xyz(31.9720, 40.3736, 7.8586) |
| Luminance | 0.4037 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.88
Puke Green
#9AAE07
ΔE00 2.29
Snot
#ACBB0D
ΔE00 2.78
Sick Green
#9DB92C
ΔE00 3.26
Booger Green
#96B403
ΔE00 3.29
Barf Green
#94AC02
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B325 #3325B3
analogous
#B37A25 #A5B325 #5EB325
triadic
#A5B325 #25A5B3 #B325A5
tetradic
#A5B325 #25B37A #3325B3 #B3255E
square
#A5B325 #25B37A #3325B3 #B3255E
split-complementary
#A5B325 #255EB3 #7A25B3
monochromatic
#484E10 #76801B #A5B325 #C8D73E #D6E271
Accessibility & contrast
On white
2.31
#A5B325 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A5B325 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B325
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B325 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B325 | 1.00 | 2.31 | 9.07 | 9.07 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b325; /* rgb */ color: rgb(165, 179, 37); /* oklch */ color: oklch(73.2% 0.156 115.4);
Tailwind
colors: {
custom: {
50: '#c3c96d',
500: '#a5b325',
950: '#000000',
},
}SCSS
$custom: #a5b325; $custom-light: #c3c96d; $custom-dark: #000000;
JSON
{
"hex": "#a5b325",
"rgb": {
"r": 165,
"g": 179,
"b": 37
},
"hsl": {
"h": 65.915,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.73164,
"c": 0.15575,
"h": 115.4
},
"luminance": 0.40373
}Semantic roles & 50–950 ramp
primary
#A5B325
secondary
#756BC8
accent
#3FE950
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A