#A5B327#A5B327
#A5B327 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.155 H 115.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B327 |
|---|---|
| RGB | rgb(165, 179, 39) |
| HSL | hsl(66, 64%, 43%) |
| HSV | hsv(66, 78%, 70%) |
| CMYK | cmyk(7.8%, 0%, 78.2%, 29.8%) |
| CIE-LAB | lab(69.74, -21.74, 63.97) |
| CIE-LCH | lch(69.74, 67.56, 108.77°) |
| OKLab | oklab(73.17% -0.0665 0.1398) |
| OKLCH | oklch(73.17% 0.155 115.5) |
| XYZ | xyz(32.0043, 40.3866, 8.0285) |
| Luminance | 0.4039 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.02
Puke Green
#9AAE07
ΔE00 2.34
Snot
#ACBB0D
ΔE00 2.87
Sick Green
#9DB92C
ΔE00 3.21
Booger Green
#96B403
ΔE00 3.32
Barf Green
#94AC02
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B327 #3527B3
analogous
#B37B27 #A5B327 #5FB327
triadic
#A5B327 #27A5B3 #B327A5
tetradic
#A5B327 #27B37B #3527B3 #B3275F
square
#A5B327 #27B37B #3527B3 #B3275F
split-complementary
#A5B327 #275FB3 #7B27B3
monochromatic
#484E11 #77811C #A5B327 #C7D641 #D6E174
Accessibility & contrast
On white
2.31
#A5B327 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A5B327 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B327
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B327 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b327; /* rgb */ color: rgb(165, 179, 39); /* oklch */ color: oklch(73.2% 0.155 115.5);
Tailwind
colors: {
custom: {
50: '#c3c96e',
500: '#a5b327',
950: '#000000',
},
}SCSS
$custom: #a5b327; $custom-light: #c3c96e; $custom-dark: #000000;
JSON
{
"hex": "#a5b327",
"rgb": {
"r": 165,
"g": 179,
"b": 39
},
"hsl": {
"h": 66,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.73174,
"c": 0.15478,
"h": 115.5
},
"luminance": 0.40386
}Semantic roles & 50–950 ramp
primary
#A5B327
secondary
#776EC8
accent
#41E751
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B