#A1C242#A1C242

#A1C242 is a light, vivid yellow-green. Relative luminance 0.466; OKLCH L 76.5% C 0.157 H 122.6°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#A1C242
RGBrgb(161, 194, 66)
HSLhsl(75, 51%, 51%)
HSVhsv(75, 66%, 76%)
CMYKcmyk(17%, 0%, 66%, 23.9%)
CIE-LABlab(73.90, -29.22, 58.33)
CIE-LCHlch(73.90, 65.24, 116.61°)
OKLaboklab(76.5% -0.0846 0.1324)
OKLCHoklch(76.5% 0.157 122.6)
XYZxyz(34.9735, 46.5539, 12.2965)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1C242 #6342C2
analogous
#C2A342 #A1C242 #61C242
triadic
#A1C242 #42A1C2 #C242A1
tetradic
#A1C242 #42C2A3 #6342C2 #C24261
square
#A1C242 #42C2A3 #6342C2 #C24261
split-complementary
#A1C242 #4261C2 #A342C2
monochromatic
#566822 #7C9631 #A1C242 #B8D170 #CFE09F

Accessibility & contrast

On white

2.04
#A1C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#A1C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1C242
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1C242#FFFFFF#000000##000000
##A1C2421.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB630
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#A9B9A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a1c242;
/* rgb */ color: rgb(161, 194, 66);
/* oklch */ color: oklch(76.5% 0.157 122.6);
Tailwind
colors: {
  custom: {
    50: '#c0d47d',
    500: '#a1c242',
    950: '#000000',
  },
}
SCSS
$custom: #a1c242;
$custom-light: #c0d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1c242",
  "rgb": {
    "r": 161,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 75.469,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76503,
    "c": 0.15713,
    "h": 122.6
  },
  "luminance": 0.46554
}

Semantic roles & 50–950 ramp

primary
#A1C242
secondary
#A294CC
accent
#4DDB72
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A1C242

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

Preview Lab → · Contrast checker → · Palette generator →

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