#A5B533#A5B533
#A5B533 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.150 H 116.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B533 |
|---|---|
| RGB | rgb(165, 181, 51) |
| HSL | hsl(67, 56%, 45%) |
| HSV | hsv(67, 72%, 71%) |
| CMYK | cmyk(8.8%, 0%, 71.8%, 29%) |
| CIE-LAB | lab(70.38, -22.17, 60.59) |
| CIE-LCH | lch(70.38, 64.52, 110.10°) |
| OKLab | oklab(73.7% -0.0667 0.1347) |
| OKLCH | oklch(73.7% 0.15 116.4) |
| XYZ | xyz(32.6393, 41.2865, 9.3810) |
| Luminance | 0.4129 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.51
Booger
#9BB53C
ΔE00 2.79
Mustard Green
#A8B504
ΔE00 3.04
Puke Green
#9AAE07
ΔE00 3.06
Sickly Green
#94B21C
ΔE00 3.30
Snot
#ACBB0D
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B533 #4333B5
analogous
#B58433 #A5B533 #64B533
triadic
#A5B533 #33A5B5 #B533A5
tetradic
#A5B533 #33B584 #4333B5 #B53364
square
#A5B533 #33B584 #4333B5 #B53364
split-complementary
#A5B533 #3364B5 #8433B5
monochromatic
#4E5618 #798526 #A5B533 #C0CF56 #D2DD86
Accessibility & contrast
On white
2.27
#A5B533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#A5B533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B533
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B533 | 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)
#C2AB1B
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#AFAB9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a5b533; /* rgb */ color: rgb(165, 181, 51); /* oklch */ color: oklch(73.7% 0.150 116.4);
Tailwind
colors: {
custom: {
50: '#c3cb74',
500: '#a5b533',
950: '#000000',
},
}SCSS
$custom: #a5b533; $custom-light: #c3cb74; $custom-dark: #000000;
JSON
{
"hex": "#a5b533",
"rgb": {
"r": 165,
"g": 181,
"b": 51
},
"hsl": {
"h": 67.385,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.73702,
"c": 0.15033,
"h": 116.4
},
"luminance": 0.41286
}Semantic roles & 50–950 ramp
primary
#A5B533
secondary
#867DC6
accent
#48DF5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B