#A1B72A#A1B72A

#A1B72A is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.8% C 0.159 H 118.5°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#A1B72A
RGBrgb(161, 183, 42)
HSLhsl(69, 63%, 44%)
HSVhsv(69, 77%, 72%)
CMYKcmyk(12%, 0%, 77%, 28.2%)
CIE-LABlab(70.60, -25.27, 63.73)
CIE-LCHlch(70.60, 68.55, 111.63°)
OKLaboklab(73.79% -0.0758 0.1399)
OKLCHoklch(73.79% 0.159 118.5)
XYZxyz(32.0501, 41.6115, 8.5335)
Luminance0.4161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B72A #402AB7
analogous
#B7872A #A1B72A #5AB72A
triadic
#A1B72A #2AA1B7 #B72AA1
tetradic
#A1B72A #2AB787 #402AB7 #B72A5A
square
#A1B72A #2AB787 #402AB7 #B72A5A
split-complementary
#A1B72A #2A5AB7 #872AB7
monochromatic
#495313 #75851F #A1B72A #BFD549 #D1E17B

Accessibility & contrast

On white

2.25
#A1B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#A1B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B72A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B72A#FFFFFF#000000##000000
##A1B72A1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD01
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#ABAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a1b72a;
/* rgb */ color: rgb(161, 183, 42);
/* oklch */ color: oklch(73.8% 0.159 118.5);
Tailwind
colors: {
  custom: {
    50: '#c0cc6f',
    500: '#a1b72a',
    950: '#000000',
  },
}
SCSS
$custom: #a1b72a;
$custom-light: #c0cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b72a",
  "rgb": {
    "r": 161,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 69.362,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73794,
    "c": 0.15913,
    "h": 118.5
  },
  "luminance": 0.41611
}

Semantic roles & 50–950 ramp

primary
#A1B72A
secondary
#8174C9
accent
#42E65C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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