#A5B536#A5B536
#A5B536 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.148 H 116.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B536 |
|---|---|
| RGB | rgb(165, 181, 54) |
| HSL | hsl(68, 54%, 46%) |
| HSV | hsv(68, 70%, 71%) |
| CMYK | cmyk(8.8%, 0%, 70.2%, 29%) |
| CIE-LAB | lab(70.40, -22.01, 59.51) |
| CIE-LCH | lch(70.40, 63.45, 110.30°) |
| OKLab | oklab(73.72% -0.066 0.1329) |
| OKLCH | oklch(73.72% 0.148 116.4) |
| XYZ | xyz(32.7076, 41.3139, 9.7407) |
| Luminance | 0.4131 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.53
Booger
#9BB53C
ΔE00 2.61
Puke Green
#9AAE07
ΔE00 3.26
Mustard Green
#A8B504
ΔE00 3.33
Sickly Green
#94B21C
ΔE00 3.37
Pea
#A4BF20
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B536 #4636B5
analogous
#B58536 #A5B536 #65B536
triadic
#A5B536 #36A5B5 #B536A5
tetradic
#A5B536 #36B585 #4636B5 #B53665
square
#A5B536 #36B585 #4636B5 #B53665
split-complementary
#A5B536 #3665B5 #8536B5
monochromatic
#4F571A #7A8628 #A5B536 #BFCE5A #D2DC89
Accessibility & contrast
On white
2.27
#A5B536 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#A5B536 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B536
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B536 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B536 | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC21
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#AFAB9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a5b536; /* rgb */ color: rgb(165, 181, 54); /* oklch */ color: oklch(73.7% 0.148 116.4);
Tailwind
colors: {
custom: {
50: '#c3cb75',
500: '#a5b536',
950: '#000000',
},
}SCSS
$custom: #a5b536; $custom-light: #c3cb75; $custom-dark: #000000;
JSON
{
"hex": "#a5b536",
"rgb": {
"r": 165,
"g": 181,
"b": 54
},
"hsl": {
"h": 67.559,
"s": 54.043,
"l": 46.078
},
"oklch": {
"l": 0.73724,
"c": 0.14841,
"h": 116.4
},
"luminance": 0.41313
}Semantic roles & 50–950 ramp
primary
#A5B536
secondary
#8981C6
accent
#4ADD5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B