#A5B236#A5B236
#A5B236 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.145 H 115.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B236 |
|---|---|
| RGB | rgb(165, 178, 54) |
| HSL | hsl(66, 53%, 45%) |
| HSV | hsv(66, 70%, 70%) |
| CMYK | cmyk(7.3%, 0%, 69.7%, 30.2%) |
| CIE-LAB | lab(69.55, -20.52, 58.66) |
| CIE-LCH | lch(69.55, 62.15, 109.28°) |
| OKLab | oklab(73.04% -0.0618 0.1311) |
| OKLCH | oklch(73.04% 0.145 115.3) |
| XYZ | xyz(32.1041, 40.1070, 9.5395) |
| Luminance | 0.4011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.12
Puke Green
#9AAE07
ΔE00 3.12
Sick Green
#9DB92C
ΔE00 3.37
Mustard Green
#A8B504
ΔE00 3.40
Sickly Green
#94B21C
ΔE00 3.74
Barf Green
#94AC02
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B236 #4336B2
analogous
#B28136 #A5B236 #67B236
triadic
#A5B236 #36A5B2 #B236A5
tetradic
#A5B236 #36B281 #4336B2 #B23667
square
#A5B236 #36B281 #4336B2 #B23667
split-complementary
#A5B236 #3667B2 #8136B2
monochromatic
#4E541A #798328 #A5B236 #C0CD59 #D2DB88
Accessibility & contrast
On white
2.33
#A5B236 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#A5B236 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B236
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B236 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B236 | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA922
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b236; /* rgb */ color: rgb(165, 178, 54); /* oklch */ color: oklch(73.0% 0.145 115.3);
Tailwind
colors: {
custom: {
50: '#c3c875',
500: '#a5b236',
950: '#000000',
},
}SCSS
$custom: #a5b236; $custom-light: #c3c875; $custom-dark: #000000;
JSON
{
"hex": "#a5b236",
"rgb": {
"r": 165,
"g": 178,
"b": 54
},
"hsl": {
"h": 66.29,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.73042,
"c": 0.14499,
"h": 115.3
},
"luminance": 0.40106
}Semantic roles & 50–950 ramp
primary
#A5B236
secondary
#867FC5
accent
#4BDD5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B