#A1C838#A1C838

#A1C838 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 77.8% C 0.171 H 123.7°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#A1C838
RGBrgb(161, 200, 56)
HSLhsl(76, 57%, 50%)
HSVhsv(76, 72%, 78%)
CMYKcmyk(19.5%, 0%, 72%, 21.6%)
CIE-LABlab(75.56, -32.66, 63.78)
CIE-LCHlch(75.56, 71.66, 117.11°)
OKLaboklab(77.82% -0.095 0.1423)
OKLCHoklch(77.82% 0.171 123.7)
XYZxyz(36.0664, 49.1709, 11.3315)
Luminance0.4917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1C838 #5F38C8
analogous
#C8A738 #A1C838 #59C838
triadic
#A1C838 #38A1C8 #C838A1
tetradic
#A1C838 #38C8A7 #5F38C8 #C83859
square
#A1C838 #38C8A7 #5F38C8 #C83859
split-complementary
#A1C838 #3859C8 #A738C8
monochromatic
#54691D #7B992A #A1C838 #B8D568 #CEE398

Accessibility & contrast

On white

1.94
#A1C838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#A1C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1C838
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1C838#FFFFFF#000000##000000
##A1C8381.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1D
Deuteranopia (green-blind)
#CEBA45
Tritanopia (blue-blind)
#A9BEAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a1c838;
/* rgb */ color: rgb(161, 200, 56);
/* oklch */ color: oklch(77.8% 0.171 123.7);
Tailwind
colors: {
  custom: {
    50: '#c0d878',
    500: '#a1c838',
    950: '#000000',
  },
}
SCSS
$custom: #a1c838;
$custom-light: #c0d878;
$custom-dark: #000000;
JSON
{
  "hex": "#a1c838",
  "rgb": {
    "r": 161,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 76.25,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77817,
    "c": 0.17112,
    "h": 123.7
  },
  "luminance": 0.49171
}

Semantic roles & 50–950 ramp

primary
#A1C838
secondary
#9F8ECE
accent
#48E071
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A1C838

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

Preview Lab → · Contrast checker → · Palette generator →

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