#A5B427#A5B427
#A5B427 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.156 H 115.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B427 |
|---|---|
| RGB | rgb(165, 180, 39) |
| HSL | hsl(66, 64%, 43%) |
| HSV | hsv(66, 78%, 71%) |
| CMYK | cmyk(8.3%, 0%, 78.3%, 29.4%) |
| CIE-LAB | lab(70.03, -22.23, 64.22) |
| CIE-LCH | lch(70.03, 67.96, 109.09°) |
| OKLab | oklab(73.4% -0.0679 0.1403) |
| OKLCH | oklch(73.4% 0.156 115.8) |
| XYZ | xyz(32.2054, 40.7888, 8.0955) |
| Luminance | 0.4079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.00
Puke Green
#9AAE07
ΔE00 2.41
Snot
#ACBB0D
ΔE00 2.70
Sick Green
#9DB92C
ΔE00 2.95
Booger Green
#96B403
ΔE00 3.16
Sickly Green
#94B21C
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B427 #3627B4
analogous
#B47C27 #A5B427 #5EB427
triadic
#A5B427 #27A5B4 #B427A5
tetradic
#A5B427 #27B47C #3627B4 #B4275E
square
#A5B427 #27B47C #3627B4 #B4275E
split-complementary
#A5B427 #275EB4 #7C27B4
monochromatic
#494F11 #77821C #A5B427 #C6D642 #D5E174
Accessibility & contrast
On white
2.29
#A5B427 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A5B427 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B427
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B427 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a5b427; /* rgb */ color: rgb(165, 180, 39); /* oklch */ color: oklch(73.4% 0.156 115.8);
Tailwind
colors: {
custom: {
50: '#c3ca6e',
500: '#a5b427',
950: '#000000',
},
}SCSS
$custom: #a5b427; $custom-light: #c3ca6e; $custom-dark: #000000;
JSON
{
"hex": "#a5b427",
"rgb": {
"r": 165,
"g": 180,
"b": 39
},
"hsl": {
"h": 66.383,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.73402,
"c": 0.15587,
"h": 115.8
},
"luminance": 0.40788
}Semantic roles & 50–950 ramp
primary
#A5B427
secondary
#786FC8
accent
#40E752
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B