#A2B214#A2B214
#A2B214 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.6% C 0.162 H 116.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B214 |
|---|---|
| RGB | rgb(162, 178, 20) |
| HSL | hsl(66, 80%, 39%) |
| HSV | hsv(66, 89%, 70%) |
| CMYK | cmyk(9%, 0%, 88.8%, 30.2%) |
| CIE-LAB | lab(69.16, -23.11, 68.00) |
| CIE-LCH | lch(69.16, 71.81, 108.77°) |
| OKLab | oklab(72.63% -0.0713 0.1455) |
| OKLCH | oklch(72.63% 0.162 116.1) |
| XYZ | xyz(30.9479, 39.5732, 6.6698) |
| Luminance | 0.3957 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.54
Puke Green
#9AAE07
ΔE00 1.61
Snot
#ACBB0D
ΔE00 2.73
Barf Green
#94AC02
ΔE00 2.76
Booger Green
#96B403
ΔE00 2.81
Sickly Green
#94B21C
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B214 #2414B2
analogous
#B27314 #A2B214 #53B214
triadic
#A2B214 #14A2B2 #B214A2
tetradic
#A2B214 #14B273 #2414B2 #B21453
square
#A2B214 #14B273 #2414B2 #B21453
split-complementary
#A2B214 #1453B2 #7314B2
monochromatic
#3E4408 #707B0E #A2B214 #D1E61E #DDEC55
Accessibility & contrast
On white
2.36
#A2B214 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#A2B214 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B214
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B214 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B214 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BEAA28
Tritanopia (blue-blind)
#ADA797
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b214; /* rgb */ color: rgb(162, 178, 20); /* oklch */ color: oklch(72.6% 0.162 116.1);
Tailwind
colors: {
custom: {
50: '#c2c867',
500: '#a2b214',
950: '#000000',
},
}SCSS
$custom: #a2b214; $custom-light: #c2c867; $custom-dark: #000000;
JSON
{
"hex": "#a2b214",
"rgb": {
"r": 162,
"g": 178,
"b": 20
},
"hsl": {
"h": 66.076,
"s": 79.798,
"l": 38.824
},
"oklch": {
"l": 0.7263,
"c": 0.16201,
"h": 116.1
},
"luminance": 0.39573
}Semantic roles & 50–950 ramp
primary
#A2B214
secondary
#6053CE
accent
#32F645
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A