#A1B82A#A1B82A

#A1B82A is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.0% C 0.160 H 118.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#A1B82A
RGBrgb(161, 184, 42)
HSLhsl(70, 63%, 44%)
HSVhsv(70, 77%, 72%)
CMYKcmyk(12.5%, 0%, 77.2%, 27.8%)
CIE-LABlab(70.89, -25.75, 63.99)
CIE-LCHlch(70.89, 68.98, 111.92°)
OKLaboklab(74.02% -0.0772 0.1405)
OKLCHoklch(74.02% 0.16 118.8)
XYZxyz(32.2571, 42.0255, 8.6024)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B82A #412AB8
analogous
#B8882A #A1B82A #5AB82A
triadic
#A1B82A #2AA1B8 #B82AA1
tetradic
#A1B82A #2AB888 #412AB8 #B82A5A
square
#A1B82A #2AB888 #412AB8 #B82A5A
split-complementary
#A1B82A #2A5AB8 #882AB8
monochromatic
#4A5413 #75861F #A1B82A #BFD64A #D1E17B

Accessibility & contrast

On white

2.23
#A1B82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#A1B82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B82A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B82A#FFFFFF#000000##000000
##A1B82A1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#ABAE9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a1b82a;
/* rgb */ color: rgb(161, 184, 42);
/* oklch */ color: oklch(74.0% 0.160 118.8);
Tailwind
colors: {
  custom: {
    50: '#c0cd70',
    500: '#a1b82a',
    950: '#000000',
  },
}
SCSS
$custom: #a1b82a;
$custom-light: #c0cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b82a",
  "rgb": {
    "r": 161,
    "g": 184,
    "b": 42
  },
  "hsl": {
    "h": 69.718,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74025,
    "c": 0.16025,
    "h": 118.8
  },
  "luminance": 0.42025
}

Semantic roles & 50–950 ramp

primary
#A1B82A
secondary
#8275C9
accent
#42E65C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B82A

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

Preview Lab → · Contrast checker → · Palette generator →

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