#A2B236#A2B236
#A2B236 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.146 H 116.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B236 |
|---|---|
| RGB | rgb(162, 178, 54) |
| HSL | hsl(68, 53%, 45%) |
| HSV | hsv(68, 70%, 70%) |
| CMYK | cmyk(9%, 0%, 69.7%, 30.2%) |
| CIE-LAB | lab(69.32, -21.79, 58.36) |
| CIE-LCH | lch(69.32, 62.30, 110.47°) |
| OKLab | oklab(72.8% -0.0652 0.1306) |
| OKLCH | oklch(72.8% 0.146 116.5) |
| XYZ | xyz(31.4873, 39.7889, 9.5106) |
| Luminance | 0.3979 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.44
Sick Green
#9DB92C
ΔE00 2.87
Puke Green
#9AAE07
ΔE00 2.98
Sickly Green
#94B21C
ΔE00 3.15
Barf Green
#94AC02
ΔE00 3.54
Booger Green
#96B403
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B236 #4636B2
analogous
#B28436 #A2B236 #64B236
triadic
#A2B236 #36A2B2 #B236A2
tetradic
#A2B236 #36B284 #4636B2 #B23664
square
#A2B236 #36B284 #4636B2 #B23664
split-complementary
#A2B236 #3664B2 #8436B2
monochromatic
#4D541A #778328 #A2B236 #BECD59 #D0DB88
Accessibility & contrast
On white
2.34
#A2B236 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#A2B236 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B236
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B236 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B236 | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA922
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b236; /* rgb */ color: rgb(162, 178, 54); /* oklch */ color: oklch(72.8% 0.146 116.5);
Tailwind
colors: {
custom: {
50: '#c1c875',
500: '#a2b236',
950: '#000000',
},
}SCSS
$custom: #a2b236; $custom-light: #c1c875; $custom-dark: #000000;
JSON
{
"hex": "#a2b236",
"rgb": {
"r": 162,
"g": 178,
"b": 54
},
"hsl": {
"h": 67.742,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.72803,
"c": 0.14597,
"h": 116.5
},
"luminance": 0.39789
}Semantic roles & 50–950 ramp
primary
#A2B236
secondary
#887FC5
accent
#4BDD5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B