#A1B41A#A1B41A

#A1B41A is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.0% C 0.163 H 117.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A1B41A
RGBrgb(161, 180, 26)
HSLhsl(67, 75%, 40%)
HSVhsv(67, 86%, 71%)
CMYKcmyk(10.6%, 0%, 85.6%, 29.4%)
CIE-LABlab(69.68, -24.37, 67.18)
CIE-LCHlch(69.68, 71.46, 109.94°)
OKLaboklab(73.03% -0.0744 0.1446)
OKLCHoklch(73.03% 0.163 117.2)
XYZxyz(31.2065, 40.2946, 7.1108)
Luminance0.4029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B41A #2D1AB4
analogous
#B47A1A #A1B41A #54B41A
triadic
#A1B41A #1AA1B4 #B41AA1
tetradic
#A1B41A #1AB47A #2D1AB4 #B41A54
square
#A1B41A #1AB47A #2D1AB4 #B41A54
split-complementary
#A1B41A #1A54B4 #7A1AB4
monochromatic
#41490B #717F12 #A1B41A #CAE02B #D7E860

Accessibility & contrast

On white

2.32
#A1B41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A1B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B41A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B41A#FFFFFF#000000##000000
##A1B41A1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#ACA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b41a;
/* rgb */ color: rgb(161, 180, 26);
/* oklch */ color: oklch(73.0% 0.163 117.2);
Tailwind
colors: {
  custom: {
    50: '#c1ca69',
    500: '#a1b41a',
    950: '#000000',
  },
}
SCSS
$custom: #a1b41a;
$custom-light: #c1ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b41a",
  "rgb": {
    "r": 161,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 67.403,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.73031,
    "c": 0.16265,
    "h": 117.2
  },
  "luminance": 0.40294
}

Semantic roles & 50–950 ramp

primary
#A1B41A
secondary
#6B5DCC
accent
#36F14D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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