#A1B52F#A1B52F

#A1B52F is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.154 H 117.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#A1B52F
RGBrgb(161, 181, 47)
HSLhsl(69, 59%, 45%)
HSVhsv(69, 74%, 71%)
CMYKcmyk(11%, 0%, 74%, 29%)
CIE-LABlab(70.06, -24.06, 61.58)
CIE-LCHlch(70.06, 66.12, 111.34°)
OKLaboklab(73.36% -0.0721 0.1362)
OKLCHoklch(73.36% 0.154 117.9)
XYZxyz(31.7356, 40.8304, 8.8980)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B52F #432FB5
analogous
#B5862F #A1B52F #5EB52F
triadic
#A1B52F #2FA1B5 #B52FA1
tetradic
#A1B52F #2FB586 #432FB5 #B52F5E
square
#A1B52F #2FB586 #432FB5 #B52F5E
split-complementary
#A1B52F #2F5EB5 #862FB5
monochromatic
#4B5416 #768422 #A1B52F #BED150 #D0DE80

Accessibility & contrast

On white

2.29
#A1B52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#A1B52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B52F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B52F#FFFFFF#000000##000000
##A1B52F1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB13
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#ABAB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a1b52f;
/* rgb */ color: rgb(161, 181, 47);
/* oklch */ color: oklch(73.4% 0.154 117.9);
Tailwind
colors: {
  custom: {
    50: '#c0cb72',
    500: '#a1b52f',
    950: '#000000',
  },
}
SCSS
$custom: #a1b52f;
$custom-light: #c0cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b52f",
  "rgb": {
    "r": 161,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 68.955,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73364,
    "c": 0.15413,
    "h": 117.9
  },
  "luminance": 0.4083
}

Semantic roles & 50–950 ramp

primary
#A1B52F
secondary
#8479C7
accent
#46E25D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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