#A1B42E#A1B42E

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

Color values

HEX#A1B42E
RGBrgb(161, 180, 46)
HSLhsl(69, 59%, 44%)
HSVhsv(69, 74%, 71%)
CMYKcmyk(10.6%, 0%, 74.4%, 29.4%)
CIE-LABlab(69.77, -23.62, 61.65)
CIE-LCHlch(69.77, 66.02, 110.96°)
OKLaboklab(73.13% -0.0709 0.1362)
OKLCHoklch(73.13% 0.154 117.5)
XYZxyz(31.5131, 40.4172, 8.7254)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B42E #412EB4
analogous
#B4842E #A1B42E #5EB42E
triadic
#A1B42E #2EA1B4 #B42EA1
tetradic
#A1B42E #2EB484 #412EB4 #B42E5E
square
#A1B42E #2EB484 #412EB4 #B42E5E
split-complementary
#A1B42E #2E5EB4 #842EB4
monochromatic
#4A5315 #758322 #A1B42E #BFD24E #D1DE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B42E#FFFFFF#000000##000000
##A1B42E1.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)
#C0AA11
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#ABAA9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b42e;
/* rgb */ color: rgb(161, 180, 46);
/* oklch */ color: oklch(73.1% 0.154 117.5);
Tailwind
colors: {
  custom: {
    50: '#c0ca71',
    500: '#a1b42e',
    950: '#000000',
  },
}
SCSS
$custom: #a1b42e;
$custom-light: #c0ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b42e",
  "rgb": {
    "r": 161,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 68.507,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73128,
    "c": 0.15356,
    "h": 117.5
  },
  "luminance": 0.40417
}

Semantic roles & 50–950 ramp

primary
#A1B42E
secondary
#8277C7
accent
#45E25C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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