#A2B138#A2B138
#A2B138 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.143 H 116.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B138 |
|---|---|
| RGB | rgb(162, 177, 56) |
| HSL | hsl(67, 52%, 46%) |
| HSV | hsv(67, 68%, 69%) |
| CMYK | cmyk(8.5%, 0%, 68.4%, 30.6%) |
| CIE-LAB | lab(69.05, -21.17, 57.32) |
| CIE-LCH | lch(69.05, 61.11, 110.27°) |
| OKLab | oklab(72.59% -0.0633 0.1287) |
| OKLCH | oklch(72.59% 0.143 116.2) |
| XYZ | xyz(31.3370, 39.4116, 9.6970) |
| Luminance | 0.3941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.58
Puke Green
#9AAE07
ΔE00 3.15
Sick Green
#9DB92C
ΔE00 3.23
Sickly Green
#94B21C
ΔE00 3.40
Barf Green
#94AC02
ΔE00 3.67
Icky Green
#8FAE22
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B138 #4738B1
analogous
#B18338 #A2B138 #65B138
triadic
#A2B138 #38A2B1 #B138A2
tetradic
#A2B138 #38B183 #4738B1 #B13865
square
#A2B138 #38B183 #4738B1 #B13865
split-complementary
#A2B138 #3865B1 #8338B1
monochromatic
#4D541B #778329 #A2B138 #BDCB5B #D0DA8A
Accessibility & contrast
On white
2.36
#A2B138 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#A2B138 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B138
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B138 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B138 | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#BCA941
Tritanopia (blue-blind)
#ACA799
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a2b138; /* rgb */ color: rgb(162, 177, 56); /* oklch */ color: oklch(72.6% 0.143 116.2);
Tailwind
colors: {
custom: {
50: '#c1c876',
500: '#a2b138',
950: '#000000',
},
}SCSS
$custom: #a2b138; $custom-light: #c1c876; $custom-dark: #000000;
JSON
{
"hex": "#a2b138",
"rgb": {
"r": 162,
"g": 177,
"b": 56
},
"hsl": {
"h": 67.438,
"s": 51.931,
"l": 45.686
},
"oklch": {
"l": 0.72591,
"c": 0.14344,
"h": 116.2
},
"luminance": 0.39411
}Semantic roles & 50–950 ramp
primary
#A2B138
secondary
#8981C4
accent
#4CDB5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B