#A1B42A#A1B42A

#A1B42A is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.1% C 0.156 H 117.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A1B42A
RGBrgb(161, 180, 42)
HSLhsl(68, 62%, 44%)
HSVhsv(68, 77%, 71%)
CMYKcmyk(10.6%, 0%, 76.7%, 29.4%)
CIE-LABlab(69.74, -23.80, 62.93)
CIE-LCHlch(69.74, 67.28, 110.72°)
OKLaboklab(73.1% -0.0718 0.1382)
OKLCHoklch(73.1% 0.156 117.4)
XYZxyz(31.4379, 40.3871, 8.3294)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B42A #3D2AB4
analogous
#B4822A #A1B42A #5CB42A
triadic
#A1B42A #2AA1B4 #B42AA1
tetradic
#A1B42A #2AB482 #3D2AB4 #B42A5C
square
#A1B42A #2AB482 #3D2AB4 #B42A5C
split-complementary
#A1B42A #2A5CB4 #822AB4
monochromatic
#485113 #75821E #A1B42A #C1D447 #D1E079

Accessibility & contrast

On white

2.31
#A1B42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A1B42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B42A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B42A#FFFFFF#000000##000000
##A1B42A1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA03
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#ABAA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b42a;
/* rgb */ color: rgb(161, 180, 42);
/* oklch */ color: oklch(73.1% 0.156 117.4);
Tailwind
colors: {
  custom: {
    50: '#c0ca6f',
    500: '#a1b42a',
    950: '#000000',
  },
}
SCSS
$custom: #a1b42a;
$custom-light: #c0ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b42a",
  "rgb": {
    "r": 161,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 68.261,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73104,
    "c": 0.15575,
    "h": 117.4
  },
  "luminance": 0.40387
}

Semantic roles & 50–950 ramp

primary
#A1B42A
secondary
#7E72C8
accent
#43E559
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B42A

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

Preview Lab → · Contrast checker → · Palette generator →

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