#A1B52A#A1B52A

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

Color values

HEX#A1B52A
RGBrgb(161, 181, 42)
HSLhsl(69, 62%, 44%)
HSVhsv(69, 77%, 71%)
CMYKcmyk(11%, 0%, 76.8%, 29%)
CIE-LABlab(70.03, -24.29, 63.20)
CIE-LCHlch(70.03, 67.71, 111.03°)
OKLaboklab(73.33% -0.0731 0.1388)
OKLCHoklch(73.33% 0.157 117.8)
XYZxyz(31.6405, 40.7923, 8.3969)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B52A #3E2AB5
analogous
#B5832A #A1B52A #5BB52A
triadic
#A1B52A #2AA1B5 #B52AA1
tetradic
#A1B52A #2AB583 #3E2AB5 #B52A5B
square
#A1B52A #2AB583 #3E2AB5 #B52A5B
split-complementary
#A1B52A #2A5BB5 #832AB5
monochromatic
#495213 #75831E #A1B52A #C0D448 #D1E079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B52A#FFFFFF#000000##000000
##A1B52A1.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)
#C1AB02
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#ABAB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a1b52a;
/* rgb */ color: rgb(161, 181, 42);
/* oklch */ color: oklch(73.3% 0.157 117.8);
Tailwind
colors: {
  custom: {
    50: '#c0cb6f',
    500: '#a1b52a',
    950: '#000000',
  },
}
SCSS
$custom: #a1b52a;
$custom-light: #c0cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b52a",
  "rgb": {
    "r": 161,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 68.633,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73334,
    "c": 0.15687,
    "h": 117.8
  },
  "luminance": 0.40792
}

Semantic roles & 50–950 ramp

primary
#A1B52A
secondary
#7F73C8
accent
#42E55A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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