#1AB31C#1AB31C

#1AB31C is a light, highly saturated green. Relative luminance 0.325; OKLCH L 66.7% C 0.217 H 142.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#1AB31C
RGBrgb(26, 179, 28)
HSLhsl(121, 75%, 40%)
HSVhsv(121, 85%, 70%)
CMYKcmyk(85.5%, 0%, 84.4%, 29.8%)
CIE-LABlab(63.79, -63.56, 59.41)
CIE-LCHlch(63.79, 87.01, 136.93°)
OKLaboklab(66.72% -0.1724 0.1311)
OKLCHoklch(66.72% 0.217 142.8)
XYZxyz(16.7546, 32.5415, 6.4965)
Luminance0.3254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1AB31C #B31AB1
analogous
#65B31A #1AB31C #1AB368
triadic
#1AB31C #1C1AB3 #B31C1A
tetradic
#1AB31C #1A65B3 #B31AB1 #B3681A
square
#1AB31C #1A65B3 #B31AB1 #B3681A
split-complementary
#1AB31C #681AB3 #B31A65
monochromatic
#0A480B #127E14 #1AB31C #2AE02C #60E861

Accessibility & contrast

On white

2.80
#1AB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#1AB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1AB31C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1AB31C#FFFFFF#000000##000000
##1AB31C1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A89631
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #1ab31c;
/* rgb */ color: rgb(26, 179, 28);
/* oklch */ color: oklch(66.7% 0.217 142.8);
Tailwind
colors: {
  custom: {
    50: '#78cb68',
    500: '#1ab31c',
    950: '#000000',
  },
}
SCSS
$custom: #1ab31c;
$custom-light: #78cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#1ab31c",
  "rgb": {
    "r": 26,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 120.784,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66717,
    "c": 0.21662,
    "h": 142.8
  },
  "luminance": 0.32544
}

Semantic roles & 50–950 ramp

primary
#1AB31C
secondary
#CC5DCB
accent
#37EFF1
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #1AB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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