#A2B638#A2B638
#A2B638 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.7% C 0.149 H 118.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B638 |
|---|---|
| RGB | rgb(162, 182, 56) |
| HSL | hsl(70, 53%, 47%) |
| HSV | hsv(70, 69%, 71%) |
| CMYK | cmyk(11%, 0%, 69.2%, 28.6%) |
| CIE-LAB | lab(70.47, -23.65, 58.76) |
| CIE-LCH | lch(70.47, 63.34, 111.92°) |
| OKLab | oklab(73.73% -0.0702 0.1317) |
| OKLCH | oklch(73.73% 0.149 118) |
| XYZ | xyz(32.3427, 41.4231, 10.0323) |
| Luminance | 0.4142 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.72
Sick Green
#9DB92C
ΔE00 1.84
Sickly Green
#94B21C
ΔE00 2.89
Booger Green
#96B403
ΔE00 3.30
Pea
#A4BF20
ΔE00 3.33
Puke Green
#9AAE07
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B638 #4C38B6
analogous
#B68B38 #A2B638 #63B638
triadic
#A2B638 #38A2B6 #B638A2
tetradic
#A2B638 #38B68B #4C38B6 #B63863
square
#A2B638 #38B68B #4C38B6 #B63863
split-complementary
#A2B638 #3863B6 #8B38B6
monochromatic
#4F581B #78872A #A2B638 #BCCD5E #CFDC8D
Accessibility & contrast
On white
2.26
#A2B638 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#A2B638 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B638
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B638 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B638 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC24
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#ACAC9D
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a2b638; /* rgb */ color: rgb(162, 182, 56); /* oklch */ color: oklch(73.7% 0.149 118.0);
Tailwind
colors: {
custom: {
50: '#c1cb76',
500: '#a2b638',
950: '#000000',
},
}SCSS
$custom: #a2b638; $custom-light: #c1cb76; $custom-dark: #000000;
JSON
{
"hex": "#a2b638",
"rgb": {
"r": 162,
"g": 182,
"b": 56
},
"hsl": {
"h": 69.524,
"s": 52.941,
"l": 46.667
},
"oklch": {
"l": 0.73734,
"c": 0.14927,
"h": 118
},
"luminance": 0.41423
}Semantic roles & 50–950 ramp
primary
#A2B638
secondary
#8E84C6
accent
#4BDC62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B