#1AB42A#1AB42A

#1AB42A is a light, highly saturated green. Relative luminance 0.330; OKLCH L 67.1% C 0.211 H 143.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#1AB42A
RGBrgb(26, 180, 42)
HSLhsl(126, 75%, 40%)
HSVhsv(126, 86%, 71%)
CMYKcmyk(85.6%, 0%, 76.7%, 29.4%)
CIE-LABlab(64.18, -63.00, 55.68)
CIE-LCHlch(64.18, 84.08, 138.53°)
OKLaboklab(67.07% -0.1704 0.1252)
OKLCHoklch(67.07% 0.211 143.7)
XYZxyz(17.1640, 33.0271, 7.6603)
Luminance0.3303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1AB42A #B41AA4
analogous
#57B41A #1AB42A #1AB477
triadic
#1AB42A #2A1AB4 #B42A1A
tetradic
#1AB42A #1A57B4 #B41AA4 #B4771A
square
#1AB42A #1A57B4 #B41AA4 #B4771A
split-complementary
#1AB42A #771AB4 #B41A57
monochromatic
#0B4911 #127F1E #1AB42A #2BE03E #60E86E

Accessibility & contrast

On white

2.76
#1AB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#1AB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1AB42A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1AB42A#FFFFFF#000000##000000
##1AB42A1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A208
Deuteranopia (green-blind)
#A8973A
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #1ab42a;
/* rgb */ color: rgb(26, 180, 42);
/* oklch */ color: oklch(67.1% 0.211 143.7);
Tailwind
colors: {
  custom: {
    50: '#77cc6e',
    500: '#1ab42a',
    950: '#000000',
  },
}
SCSS
$custom: #1ab42a;
$custom-light: #77cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1ab42a",
  "rgb": {
    "r": 26,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 126.234,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67067,
    "c": 0.21143,
    "h": 143.7
  },
  "luminance": 0.33029
}

Semantic roles & 50–950 ramp

primary
#1AB42A
secondary
#CC5DC1
accent
#36DEF1
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #1AB42A

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

Preview Lab → · Contrast checker → · Palette generator →

#1AB42A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva