#A1B22F#A1B22F

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

Color values

HEX#A1B22F
RGBrgb(161, 178, 47)
HSLhsl(68, 58%, 44%)
HSVhsv(68, 74%, 70%)
CMYKcmyk(9.6%, 0%, 73.6%, 30.2%)
CIE-LABlab(69.20, -22.58, 60.77)
CIE-LCHlch(69.20, 64.83, 110.39°)
OKLaboklab(72.68% -0.068 0.1345)
OKLCHoklch(72.68% 0.151 116.8)
XYZxyz(31.1322, 39.6235, 8.6968)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B22F #402FB2
analogous
#B2822F #A1B22F #60B22F
triadic
#A1B22F #2FA1B2 #B22FA1
tetradic
#A1B22F #2FB282 #402FB2 #B22F60
square
#A1B22F #2FB282 #402FB2 #B22F60
split-complementary
#A1B22F #2F60B2 #822FB2
monochromatic
#495115 #758222 #A1B22F #BFD04E #D1DD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B22F#FFFFFF#000000##000000
##A1B22F1.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)
#BEA814
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b22f;
/* rgb */ color: rgb(161, 178, 47);
/* oklch */ color: oklch(72.7% 0.151 116.8);
Tailwind
colors: {
  custom: {
    50: '#c0c871',
    500: '#a1b22f',
    950: '#000000',
  },
}
SCSS
$custom: #a1b22f;
$custom-light: #c0c871;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b22f",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 67.786,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72676,
    "c": 0.15071,
    "h": 116.8
  },
  "luminance": 0.39623
}

Semantic roles & 50–950 ramp

primary
#A1B22F
secondary
#8177C6
accent
#46E15A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B22F

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

Preview Lab → · Contrast checker → · Palette generator →

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