#A5B538#A5B538
#A5B538 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.147 H 116.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B538 |
|---|---|
| RGB | rgb(165, 181, 56) |
| HSL | hsl(68, 53%, 46%) |
| HSV | hsv(68, 69%, 71%) |
| CMYK | cmyk(8.8%, 0%, 69.1%, 29%) |
| CIE-LAB | lab(70.41, -21.90, 58.77) |
| CIE-LCH | lch(70.41, 62.71, 110.44°) |
| OKLab | oklab(73.74% -0.0655 0.1317) |
| OKLCH | oklch(73.74% 0.147 116.4) |
| XYZ | xyz(32.7555, 41.3330, 9.9931) |
| Luminance | 0.4133 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.50
Sick Green
#9DB92C
ΔE00 2.57
Puke Green
#9AAE07
ΔE00 3.41
Sickly Green
#94B21C
ΔE00 3.43
Mustard Green
#A8B504
ΔE00 3.54
Pea
#A4BF20
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B538 #4838B5
analogous
#B58738 #A5B538 #67B538
triadic
#A5B538 #38A5B5 #B538A5
tetradic
#A5B538 #38B587 #4838B5 #B53867
square
#A5B538 #38B587 #4838B5 #B53867
split-complementary
#A5B538 #3867B5 #8738B5
monochromatic
#50581B #7A862A #A5B538 #BFCD5D #D1DB8C
Accessibility & contrast
On white
2.27
#A5B538 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#A5B538 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B538
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B538 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B538 | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC24
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#AFAB9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a5b538; /* rgb */ color: rgb(165, 181, 56); /* oklch */ color: oklch(73.7% 0.147 116.4);
Tailwind
colors: {
custom: {
50: '#c3cb76',
500: '#a5b538',
950: '#000000',
},
}SCSS
$custom: #a5b538; $custom-light: #c3cb76; $custom-dark: #000000;
JSON
{
"hex": "#a5b538",
"rgb": {
"r": 165,
"g": 181,
"b": 56
},
"hsl": {
"h": 67.68,
"s": 52.743,
"l": 46.471
},
"oklch": {
"l": 0.73739,
"c": 0.14707,
"h": 116.4
},
"luminance": 0.41333
}Semantic roles & 50–950 ramp
primary
#A5B538
secondary
#8C83C6
accent
#4CDC5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B