#A2B538#A2B538
#A2B538 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.5% C 0.148 H 117.7°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B538 |
|---|---|
| RGB | rgb(162, 181, 56) |
| HSL | hsl(69, 53%, 46%) |
| HSV | hsv(69, 69%, 71%) |
| CMYK | cmyk(10.5%, 0%, 69.1%, 29%) |
| CIE-LAB | lab(70.19, -23.16, 58.47) |
| CIE-LCH | lch(70.19, 62.89, 111.61°) |
| OKLab | oklab(73.51% -0.0688 0.1311) |
| OKLCH | oklch(73.51% 0.148 117.7) |
| XYZ | xyz(32.1387, 41.0150, 9.9642) |
| Luminance | 0.4102 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.81
Sick Green
#9DB92C
ΔE00 2.09
Sickly Green
#94B21C
ΔE00 2.93
Booger Green
#96B403
ΔE00 3.37
Puke Green
#9AAE07
ΔE00 3.40
Avocado (survey)
#90B134
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B538 #4B38B5
analogous
#B58A38 #A2B538 #64B538
triadic
#A2B538 #38A2B5 #B538A2
tetradic
#A2B538 #38B58A #4B38B5 #B53864
square
#A2B538 #38B58A #4B38B5 #B53864
split-complementary
#A2B538 #3864B5 #8A38B5
monochromatic
#4E581B #78862A #A2B538 #BCCD5D #CFDB8C
Accessibility & contrast
On white
2.28
#A2B538 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#A2B538 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B538
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B538 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B538 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#ACAB9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a2b538; /* rgb */ color: rgb(162, 181, 56); /* oklch */ color: oklch(73.5% 0.148 117.7);
Tailwind
colors: {
custom: {
50: '#c1cb76',
500: '#a2b538',
950: '#000000',
},
}SCSS
$custom: #a2b538; $custom-light: #c1cb76; $custom-dark: #000000;
JSON
{
"hex": "#a2b538",
"rgb": {
"r": 162,
"g": 181,
"b": 56
},
"hsl": {
"h": 69.12,
"s": 52.743,
"l": 46.471
},
"oklch": {
"l": 0.73505,
"c": 0.1481,
"h": 117.7
},
"luminance": 0.41015
}Semantic roles & 50–950 ramp
primary
#A2B538
secondary
#8D83C6
accent
#4CDC62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B