#A2B31E#A2B31E
#A2B31E is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.160 H 116.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B31E |
|---|---|
| RGB | rgb(162, 179, 30) |
| HSL | hsl(67, 71%, 41%) |
| HSV | hsv(67, 83%, 70%) |
| CMYK | cmyk(9.5%, 0%, 83.2%, 29.8%) |
| CIE-LAB | lab(69.48, -23.33, 66.11) |
| CIE-LCH | lch(69.48, 70.11, 109.44°) |
| OKLab | oklab(72.89% -0.0714 0.1429) |
| OKLCH | oklch(72.89% 0.16 116.6) |
| XYZ | xyz(31.2556, 40.0158, 7.3053) |
| Luminance | 0.4002 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.78
Mustard Green
#A8B504
ΔE00 1.91
Booger Green
#96B403
ΔE00 2.60
Snot
#ACBB0D
ΔE00 2.79
Barf Green
#94AC02
ΔE00 2.81
Sick Green
#9DB92C
ΔE00 2.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B31E #2F1EB3
analogous
#B3791E #A2B31E #57B31E
triadic
#A2B31E #1EA2B3 #B31EA2
tetradic
#A2B31E #1EB379 #2F1EB3 #B31E57
square
#A2B31E #1EB379 #2F1EB3 #B31E57
split-complementary
#A2B31E #1E57B3 #791EB3
monochromatic
#434A0C #737F15 #A2B31E #C9DD32 #D7E566
Accessibility & contrast
On white
2.33
#A2B31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#A2B31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B31E
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B31E | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAB2E
Tritanopia (blue-blind)
#ADA899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b31e; /* rgb */ color: rgb(162, 179, 30); /* oklch */ color: oklch(72.9% 0.160 116.6);
Tailwind
colors: {
custom: {
50: '#c2c96a',
500: '#a2b31e',
950: '#000000',
},
}SCSS
$custom: #a2b31e; $custom-light: #c2c96a; $custom-dark: #000000;
JSON
{
"hex": "#a2b31e",
"rgb": {
"r": 162,
"g": 179,
"b": 30
},
"hsl": {
"h": 66.846,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.72894,
"c": 0.15975,
"h": 116.6
},
"luminance": 0.40015
}Semantic roles & 50–950 ramp
primary
#A2B31E
secondary
#6E62CB
accent
#3AEE4E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A