#A1B72F#A1B72F

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

Color values

HEX#A1B72F
RGBrgb(161, 183, 47)
HSLhsl(70, 59%, 45%)
HSVhsv(70, 74%, 72%)
CMYKcmyk(12%, 0%, 74.3%, 28.2%)
CIE-LABlab(70.63, -25.04, 62.13)
CIE-LCHlch(70.63, 66.98, 111.95°)
OKLaboklab(73.82% -0.0748 0.1374)
OKLCHoklch(73.82% 0.156 118.6)
XYZxyz(32.1452, 41.6495, 9.0345)
Luminance0.4165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B72F #452FB7
analogous
#B7892F #A1B72F #5DB72F
triadic
#A1B72F #2FA1B7 #B72FA1
tetradic
#A1B72F #2FB789 #452FB7 #B72F5D
square
#A1B72F #2FB789 #452FB7 #B72F5D
split-complementary
#A1B72F #2F5DB7 #892FB7
monochromatic
#4B5616 #768622 #A1B72F #BDD251 #D0DF82

Accessibility & contrast

On white

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

On black

9.33
#A1B72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B72F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B72F#FFFFFF#000000##000000
##A1B72F1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1b72f;
/* rgb */ color: rgb(161, 183, 47);
/* oklch */ color: oklch(73.8% 0.156 118.6);
Tailwind
colors: {
  custom: {
    50: '#c0cc72',
    500: '#a1b72f',
    950: '#000000',
  },
}
SCSS
$custom: #a1b72f;
$custom-light: #c0cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b72f",
  "rgb": {
    "r": 161,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 69.706,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73824,
    "c": 0.15642,
    "h": 118.6
  },
  "luminance": 0.41649
}

Semantic roles & 50–950 ramp

primary
#A1B72F
secondary
#877AC8
accent
#45E25F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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