#A1B22B#A1B22B

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

Color values

HEX#A1B22B
RGBrgb(161, 178, 43)
HSLhsl(68, 61%, 43%)
HSVhsv(68, 76%, 70%)
CMYKcmyk(9.6%, 0%, 75.8%, 30.2%)
CIE-LABlab(69.18, -22.77, 62.09)
CIE-LCHlch(69.18, 66.13, 110.14°)
OKLaboklab(72.65% -0.0689 0.1366)
OKLCHoklch(72.65% 0.153 116.8)
XYZxyz(31.0552, 39.5927, 8.2912)
Luminance0.3959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B22B #3C2BB2
analogous
#B2802B #A1B22B #5DB22B
triadic
#A1B22B #2BA1B2 #B22BA1
tetradic
#A1B22B #2BB280 #3C2BB2 #B22B5D
square
#A1B22B #2BB280 #3C2BB2 #B22B5D
split-complementary
#A1B22B #2B5DB2 #802BB2
monochromatic
#484F13 #74811F #A1B22B #C1D348 #D2DF79

Accessibility & contrast

On white

2.35
#A1B22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B22B#FFFFFF#000000##000000
##A1B22B1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1b22b;
/* rgb */ color: rgb(161, 178, 43);
/* oklch */ color: oklch(72.7% 0.153 116.8);
Tailwind
colors: {
  custom: {
    50: '#c0c86f',
    500: '#a1b22b',
    950: '#000000',
  },
}
SCSS
$custom: #a1b22b;
$custom-light: #c0c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b22b",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 67.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72651,
    "c": 0.15297,
    "h": 116.8
  },
  "luminance": 0.39592
}

Semantic roles & 50–950 ramp

primary
#A1B22B
secondary
#7D72C7
accent
#44E458
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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