#A1B214#A1B214
#A1B214 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.6% C 0.162 H 116.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B214 |
|---|---|
| RGB | rgb(161, 178, 20) |
| HSL | hsl(66, 80%, 39%) |
| HSV | hsv(66, 89%, 70%) |
| CMYK | cmyk(9.6%, 0%, 88.8%, 30.2%) |
| CIE-LAB | lab(69.09, -23.54, 67.90) |
| CIE-LCH | lch(69.09, 71.87, 109.12°) |
| OKLab | oklab(72.55% -0.0725 0.1453) |
| OKLCH | oklch(72.55% 0.162 116.5) |
| XYZ | xyz(30.7455, 39.4688, 6.6603) |
| Luminance | 0.3947 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.46
Mustard Green
#A8B504
ΔE00 1.72
Barf Green
#94AC02
ΔE00 2.58
Booger Green
#96B403
ΔE00 2.59
Snot
#ACBB0D
ΔE00 2.83
Sickly Green
#94B21C
ΔE00 3.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B214 #2514B2
analogous
#B27414 #A1B214 #52B214
triadic
#A1B214 #14A1B2 #B214A1
tetradic
#A1B214 #14B274 #2514B2 #B21452
square
#A1B214 #14B274 #2514B2 #B21452
split-complementary
#A1B214 #1452B2 #7414B2
monochromatic
#3D4408 #6F7B0E #A1B214 #D0E61E #DCEC55
Accessibility & contrast
On white
2.36
#A1B214 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#A1B214 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B214
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B214 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B214 | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BEAA28
Tritanopia (blue-blind)
#ACA797
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b214; /* rgb */ color: rgb(161, 178, 20); /* oklch */ color: oklch(72.6% 0.162 116.5);
Tailwind
colors: {
custom: {
50: '#c1c867',
500: '#a1b214',
950: '#000000',
},
}SCSS
$custom: #a1b214; $custom-light: #c1c867; $custom-dark: #000000;
JSON
{
"hex": "#a1b214",
"rgb": {
"r": 161,
"g": 178,
"b": 20
},
"hsl": {
"h": 66.456,
"s": 79.798,
"l": 38.824
},
"oklch": {
"l": 0.72551,
"c": 0.16237,
"h": 116.5
},
"luminance": 0.39468
}Semantic roles & 50–950 ramp
primary
#A1B214
secondary
#6153CE
accent
#32F647
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A