#A1C42F#A1C42F

#A1C42F is a light, vivid yellow-green. Relative luminance 0.473; OKLCH L 76.8% C 0.171 H 122.4°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#A1C42F
RGBrgb(161, 196, 47)
HSLhsl(74, 61%, 48%)
HSVhsv(74, 76%, 77%)
CMYKcmyk(17.9%, 0%, 76%, 23.1%)
CIE-LABlab(74.36, -31.25, 65.64)
CIE-LCHlch(74.36, 72.70, 115.46°)
OKLaboklab(76.83% -0.0919 0.1448)
OKLCHoklch(76.83% 0.171 122.4)
XYZxyz(34.9515, 47.2620, 9.9699)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1C42F #522FC4
analogous
#C49C2F #A1C42F #56C42F
triadic
#A1C42F #2FA1C4 #C42FA1
tetradic
#A1C42F #2FC49C #522FC4 #C42F56
square
#A1C42F #2FC49C #522FC4 #C42F56
split-complementary
#A1C42F #2F56C4 #9C2FC4
monochromatic
#506117 #789323 #A1C42F #BAD759 #CEE38A

Accessibility & contrast

On white

2.01
#A1C42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#A1C42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1C42F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1C42F#FFFFFF#000000##000000
##A1C42F1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B806
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#AABAA8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a1c42f;
/* rgb */ color: rgb(161, 196, 47);
/* oklch */ color: oklch(76.8% 0.171 122.4);
Tailwind
colors: {
  custom: {
    50: '#c1d673',
    500: '#a1c42f',
    950: '#000000',
  },
}
SCSS
$custom: #a1c42f;
$custom-light: #c1d673;
$custom-dark: #000000;
JSON
{
  "hex": "#a1c42f",
  "rgb": {
    "r": 161,
    "g": 196,
    "b": 47
  },
  "hsl": {
    "h": 74.094,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76831,
    "c": 0.17148,
    "h": 122.4
  },
  "luminance": 0.47262
}

Semantic roles & 50–950 ramp

primary
#A1C42F
secondary
#9382CD
accent
#43E469
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A1C42F

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

Preview Lab → · Contrast checker → · Palette generator →

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