#A5B535#A5B535
#A5B535 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.149 H 116.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B535 |
|---|---|
| RGB | rgb(165, 181, 53) |
| HSL | hsl(68, 55%, 46%) |
| HSV | hsv(68, 71%, 71%) |
| CMYK | cmyk(8.8%, 0%, 70.7%, 29%) |
| CIE-LAB | lab(70.39, -22.07, 59.87) |
| CIE-LCH | lch(70.39, 63.81, 110.23°) |
| OKLab | oklab(73.72% -0.0663 0.1335) |
| OKLCH | oklch(73.72% 0.149 116.4) |
| XYZ | xyz(32.6843, 41.3046, 9.6183) |
| Luminance | 0.4130 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.52
Booger
#9BB53C
ΔE00 2.67
Puke Green
#9AAE07
ΔE00 3.19
Mustard Green
#A8B504
ΔE00 3.23
Sickly Green
#94B21C
ΔE00 3.34
Pea
#A4BF20
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B535 #4535B5
analogous
#B58535 #A5B535 #65B535
triadic
#A5B535 #35A5B5 #B535A5
tetradic
#A5B535 #35B585 #4535B5 #B53565
square
#A5B535 #35B585 #4535B5 #B53565
split-complementary
#A5B535 #3565B5 #8535B5
monochromatic
#4F5619 #7A8627 #A5B535 #C0CE59 #D2DC88
Accessibility & contrast
On white
2.27
#A5B535 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#A5B535 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B535
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B535 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B535 | 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)
#C2AC1F
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#AFAB9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a5b535; /* rgb */ color: rgb(165, 181, 53); /* oklch */ color: oklch(73.7% 0.149 116.4);
Tailwind
colors: {
custom: {
50: '#c3cb75',
500: '#a5b535',
950: '#000000',
},
}SCSS
$custom: #a5b535; $custom-light: #c3cb75; $custom-dark: #000000;
JSON
{
"hex": "#a5b535",
"rgb": {
"r": 165,
"g": 181,
"b": 53
},
"hsl": {
"h": 67.5,
"s": 54.701,
"l": 45.882
},
"oklch": {
"l": 0.73716,
"c": 0.14906,
"h": 116.4
},
"luminance": 0.41304
}Semantic roles & 50–950 ramp
primary
#A5B535
secondary
#8880C6
accent
#4ADE5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B