#A2B316#A2B316
#A2B316 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.162 H 116.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B316 |
|---|---|
| RGB | rgb(162, 179, 22) |
| HSL | hsl(66, 78%, 39%) |
| HSV | hsv(66, 88%, 70%) |
| CMYK | cmyk(9.5%, 0%, 87.7%, 29.8%) |
| CIE-LAB | lab(69.46, -23.55, 67.85) |
| CIE-LCH | lch(69.46, 71.83, 109.14°) |
| OKLab | oklab(72.87% -0.0725 0.1454) |
| OKLCH | oklch(72.87% 0.162 116.5) |
| XYZ | xyz(31.1661, 39.9800, 6.8340) |
| Luminance | 0.3998 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.58
Puke Green
#9AAE07
ΔE00 1.72
Snot
#ACBB0D
ΔE00 2.58
Booger Green
#96B403
ΔE00 2.61
Barf Green
#94AC02
ΔE00 2.82
Bright Olive
#9CBB04
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B316 #2716B3
analogous
#B37616 #A2B316 #54B316
triadic
#A2B316 #16A2B3 #B316A2
tetradic
#A2B316 #16B376 #2716B3 #B31654
square
#A2B316 #16B376 #2716B3 #B31654
split-complementary
#A2B316 #1654B3 #7616B3
monochromatic
#3F4609 #717C0F #A2B316 #CFE422 #DBEB59
Accessibility & contrast
On white
2.33
#A2B316 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#A2B316 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B316
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B316 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B316 | 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)
#BFAB2A
Tritanopia (blue-blind)
#ADA898
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b316; /* rgb */ color: rgb(162, 179, 22); /* oklch */ color: oklch(72.9% 0.162 116.5);
Tailwind
colors: {
custom: {
50: '#c2c968',
500: '#a2b316',
950: '#000000',
},
}SCSS
$custom: #a2b316; $custom-light: #c2c968; $custom-dark: #000000;
JSON
{
"hex": "#a2b316",
"rgb": {
"r": 162,
"g": 179,
"b": 22
},
"hsl": {
"h": 66.497,
"s": 78.109,
"l": 39.412
},
"oklch": {
"l": 0.72866,
"c": 0.16249,
"h": 116.5
},
"luminance": 0.3998
}Semantic roles & 50–950 ramp
primary
#A2B316
secondary
#6457CE
accent
#33F548
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A