#A1B22A#A1B22A

#A1B22A is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.6% C 0.154 H 116.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#A1B22A
RGBrgb(161, 178, 42)
HSLhsl(68, 62%, 43%)
HSVhsv(68, 76%, 70%)
CMYKcmyk(9.6%, 0%, 76.4%, 30.2%)
CIE-LABlab(69.17, -22.81, 62.41)
CIE-LCHlch(69.17, 66.45, 110.08°)
OKLaboklab(72.65% -0.0691 0.1371)
OKLCHoklch(72.65% 0.154 116.7)
XYZxyz(31.0371, 39.5854, 8.1958)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B22A #3B2AB2
analogous
#B27F2A #A1B22A #5DB22A
triadic
#A1B22A #2AA1B2 #B22AA1
tetradic
#A1B22A #2AB27F #3B2AB2 #B22A5D
square
#A1B22A #2AB27F #3B2AB2 #B22A5D
split-complementary
#A1B22A #2A5DB2 #7F2AB2
monochromatic
#474F13 #74801E #A1B22A #C2D346 #D2DF77

Accessibility & contrast

On white

2.36
#A1B22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#A1B22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B22A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B22A#FFFFFF#000000##000000
##A1B22A1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA805
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b22a;
/* rgb */ color: rgb(161, 178, 42);
/* oklch */ color: oklch(72.6% 0.154 116.7);
Tailwind
colors: {
  custom: {
    50: '#c0c86f',
    500: '#a1b22a',
    950: '#000000',
  },
}
SCSS
$custom: #a1b22a;
$custom-light: #c0c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b22a",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 67.5,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72645,
    "c": 0.15352,
    "h": 116.7
  },
  "luminance": 0.39585
}

Semantic roles & 50–950 ramp

primary
#A1B22A
secondary
#7C71C7
accent
#43E557
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B22A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A1B22A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva