#A1B52B#A1B52B

#A1B52B is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.3% C 0.156 H 117.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A1B52B
RGBrgb(161, 181, 43)
HSLhsl(69, 62%, 44%)
HSVhsv(69, 76%, 71%)
CMYKcmyk(11%, 0%, 76.2%, 29%)
CIE-LABlab(70.04, -24.25, 62.89)
CIE-LCHlch(70.04, 67.40, 111.09°)
OKLaboklab(73.34% -0.0729 0.1383)
OKLCHoklch(73.34% 0.156 117.8)
XYZxyz(31.6586, 40.7996, 8.4924)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B52B #3F2BB5
analogous
#B5842B #A1B52B #5CB52B
triadic
#A1B52B #2BA1B5 #B52BA1
tetradic
#A1B52B #2BB584 #3F2BB5 #B52B5C
square
#A1B52B #2BB584 #3F2BB5 #B52B5C
split-complementary
#A1B52B #2B5CB5 #842BB5
monochromatic
#495214 #75841F #A1B52B #C0D449 #D1E07B

Accessibility & contrast

On white

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

On black

9.16
#A1B52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B52B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B52B#FFFFFF#000000##000000
##A1B52B1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1b52b;
/* rgb */ color: rgb(161, 181, 43);
/* oklch */ color: oklch(73.3% 0.156 117.8);
Tailwind
colors: {
  custom: {
    50: '#c0cb70',
    500: '#a1b52b',
    950: '#000000',
  },
}
SCSS
$custom: #a1b52b;
$custom-light: #c0cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b52b",
  "rgb": {
    "r": 161,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 68.696,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7334,
    "c": 0.15635,
    "h": 117.8
  },
  "luminance": 0.40799
}

Semantic roles & 50–950 ramp

primary
#A1B52B
secondary
#8074C8
accent
#43E55B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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