#A5B837#A5B837
#A5B837 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.4% C 0.151 H 117.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B837 |
|---|---|
| RGB | rgb(165, 184, 55) |
| HSL | hsl(69, 54%, 47%) |
| HSV | hsv(69, 70%, 72%) |
| CMYK | cmyk(10.3%, 0%, 70.1%, 27.8%) |
| CIE-LAB | lab(71.25, -23.44, 59.99) |
| CIE-LCH | lch(71.25, 64.40, 111.34°) |
| OKLab | oklab(74.41% -0.0699 0.1341) |
| OKLCH | oklch(74.41% 0.151 117.5) |
| XYZ | xyz(33.3479, 42.5565, 10.0712) |
| Luminance | 0.4256 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.87
Booger
#9BB53C
ΔE00 2.35
Pea
#A4BF20
ΔE00 2.84
Sickly Green
#94B21C
ΔE00 3.29
Bright Olive
#9CBB04
ΔE00 3.32
Gross Green
#A0BF16
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B837 #4A37B8
analogous
#B88B37 #A5B837 #65B837
triadic
#A5B837 #37A5B8 #B837A5
tetradic
#A5B837 #37B88B #4A37B8 #B83765
square
#A5B837 #37B88B #4A37B8 #B83765
split-complementary
#A5B837 #3765B8 #8B37B8
monochromatic
#505A1B #7B8929 #A5B837 #BECF5D #D1DD8D
Accessibility & contrast
On white
2.21
#A5B837 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#A5B837 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B837
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B837 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B837 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE22
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#AFAE9F
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b837; /* rgb */ color: rgb(165, 184, 55); /* oklch */ color: oklch(74.4% 0.151 117.5);
Tailwind
colors: {
custom: {
50: '#c3cd76',
500: '#a5b837',
950: '#000000',
},
}SCSS
$custom: #a5b837; $custom-light: #c3cd76; $custom-dark: #000000;
JSON
{
"hex": "#a5b837",
"rgb": {
"r": 165,
"g": 184,
"b": 55
},
"hsl": {
"h": 68.837,
"s": 53.975,
"l": 46.863
},
"oklch": {
"l": 0.74415,
"c": 0.1512,
"h": 117.5
},
"luminance": 0.42556
}Semantic roles & 50–950 ramp
primary
#A5B837
secondary
#8E84C7
accent
#4ADD60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B