#A1B22D#A1B22D

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

Color values

HEX#A1B22D
RGBrgb(161, 178, 45)
HSLhsl(68, 60%, 44%)
HSVhsv(68, 75%, 70%)
CMYKcmyk(9.6%, 0%, 74.7%, 30.2%)
CIE-LABlab(69.19, -22.68, 61.44)
CIE-LCHlch(69.19, 65.49, 110.26°)
OKLaboklab(72.66% -0.0684 0.1356)
OKLCHoklch(72.66% 0.152 116.8)
XYZxyz(31.0928, 39.6077, 8.4892)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B22D #3E2DB2
analogous
#B2802D #A1B22D #5EB22D
triadic
#A1B22D #2DA1B2 #B22DA1
tetradic
#A1B22D #2DB280 #3E2DB2 #B22D5E
square
#A1B22D #2DB280 #3E2DB2 #B22D5E
split-complementary
#A1B22D #2D5EB2 #802DB2
monochromatic
#495014 #758121 #A1B22D #C0D14B #D1DE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B22D#FFFFFF#000000##000000
##A1B22D1.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)
#BEA80F
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b22d;
/* rgb */ color: rgb(161, 178, 45);
/* oklch */ color: oklch(72.7% 0.152 116.8);
Tailwind
colors: {
  custom: {
    50: '#c0c870',
    500: '#a1b22d',
    950: '#000000',
  },
}
SCSS
$custom: #a1b22d;
$custom-light: #c0c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b22d",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 67.669,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72663,
    "c": 0.15187,
    "h": 116.8
  },
  "luminance": 0.39607
}

Semantic roles & 50–950 ramp

primary
#A1B22D
secondary
#7F75C6
accent
#45E359
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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