#A1B52C#A1B52C

#A1B52C 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#A1B52C
RGBrgb(161, 181, 44)
HSLhsl(69, 61%, 44%)
HSVhsv(69, 76%, 71%)
CMYKcmyk(11%, 0%, 75.7%, 29%)
CIE-LABlab(70.04, -24.20, 62.57)
CIE-LCHlch(70.04, 67.09, 111.15°)
OKLaboklab(73.35% -0.0727 0.1378)
OKLCHoklch(73.35% 0.156 117.8)
XYZxyz(31.6772, 40.8070, 8.5902)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B52C #402CB5
analogous
#B5852C #A1B52C #5DB52C
triadic
#A1B52C #2CA1B5 #B52CA1
tetradic
#A1B52C #2CB585 #402CB5 #B52C5D
square
#A1B52C #2CB585 #402CB5 #B52C5D
split-complementary
#A1B52C #2C5DB5 #852CB5
monochromatic
#495314 #758420 #A1B52C #BFD34B #D1DF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B52C#FFFFFF#000000##000000
##A1B52C1.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)
#C1AB09
Deuteranopia (green-blind)
#BFAC38
Tritanopia (blue-blind)
#ABAB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a1b52c;
/* rgb */ color: rgb(161, 181, 44);
/* oklch */ color: oklch(73.3% 0.156 117.8);
Tailwind
colors: {
  custom: {
    50: '#c0cb70',
    500: '#a1b52c',
    950: '#000000',
  },
}
SCSS
$custom: #a1b52c;
$custom-light: #c0cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b52c",
  "rgb": {
    "r": 161,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 68.759,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73346,
    "c": 0.15581,
    "h": 117.8
  },
  "luminance": 0.40807
}

Semantic roles & 50–950 ramp

primary
#A1B52C
secondary
#8175C8
accent
#44E45B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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