#A1B41B#A1B41B

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

Color values

HEX#A1B41B
RGBrgb(161, 180, 27)
HSLhsl(67, 74%, 41%)
HSVhsv(67, 85%, 71%)
CMYKcmyk(10.6%, 0%, 85%, 29.4%)
CIE-LABlab(69.68, -24.34, 66.96)
CIE-LCHlch(69.68, 71.25, 109.98°)
OKLaboklab(73.03% -0.0743 0.1443)
OKLCHoklch(73.03% 0.162 117.3)
XYZxyz(31.2179, 40.2991, 7.1707)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B41B #2E1BB4
analogous
#B47A1B #A1B41B #54B41B
triadic
#A1B41B #1BA1B4 #B41BA1
tetradic
#A1B41B #1BB47A #2E1BB4 #B41B54
square
#A1B41B #1BB47A #2E1BB4 #B41B54
split-complementary
#A1B41B #1B54B4 #7A1BB4
monochromatic
#424A0B #717F13 #A1B41B #C9DF2D #D7E762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B41B#FFFFFF#000000##000000
##A1B41B1.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)
#BFAB2D
Tritanopia (blue-blind)
#ACA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b41b;
/* rgb */ color: rgb(161, 180, 27);
/* oklch */ color: oklch(73.0% 0.162 117.3);
Tailwind
colors: {
  custom: {
    50: '#c1ca69',
    500: '#a1b41b',
    950: '#000000',
  },
}
SCSS
$custom: #a1b41b;
$custom-light: #c1ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b41b",
  "rgb": {
    "r": 161,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 67.451,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73034,
    "c": 0.16231,
    "h": 117.3
  },
  "luminance": 0.40299
}

Semantic roles & 50–950 ramp

primary
#A1B41B
secondary
#6C5FCC
accent
#37F14E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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