#A1C842#A1C842

#A1C842 is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 77.9% C 0.165 H 124.2°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#A1C842
RGBrgb(161, 200, 66)
HSLhsl(77, 55%, 52%)
HSVhsv(77, 67%, 78%)
CMYKcmyk(19.5%, 0%, 67%, 21.6%)
CIE-LABlab(75.62, -32.05, 60.12)
CIE-LCHlch(75.62, 68.13, 118.06°)
OKLaboklab(77.89% -0.0924 0.1362)
OKLCHoklch(77.89% 0.165 124.2)
XYZxyz(36.3359, 49.2787, 12.7506)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1C842 #6942C8
analogous
#C8AC42 #A1C842 #5EC842
triadic
#A1C842 #42A1C8 #C842A1
tetradic
#A1C842 #42C8AC #6942C8 #C8425E
square
#A1C842 #42C8AC #6942C8 #C8425E
split-complementary
#A1C842 #425EC8 #AC42C8
monochromatic
#586F20 #7E9F2E #A1C842 #B9D671 #D0E4A1

Accessibility & contrast

On white

1.93
#A1C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#A1C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1C842
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1C842#FFFFFF#000000##000000
##A1C8421.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#A8BEAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a1c842;
/* rgb */ color: rgb(161, 200, 66);
/* oklch */ color: oklch(77.9% 0.165 124.2);
Tailwind
colors: {
  custom: {
    50: '#c0d87d',
    500: '#a1c842',
    950: '#000000',
  },
}
SCSS
$custom: #a1c842;
$custom-light: #c0d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1c842",
  "rgb": {
    "r": 161,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 77.463,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77892,
    "c": 0.16457,
    "h": 124.2
  },
  "luminance": 0.49279
}

Semantic roles & 50–950 ramp

primary
#A1C842
secondary
#A796D0
accent
#4ADE75
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A1C842

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

Preview Lab → · Contrast checker → · Palette generator →

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