#1AB31B#1AB31B

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

Color values

HEX#1AB31B
RGBrgb(26, 179, 27)
HSLhsl(120, 75%, 40%)
HSVhsv(120, 85%, 70%)
CMYKcmyk(85.5%, 0%, 84.9%, 29.8%)
CIE-LABlab(63.78, -63.61, 59.66)
CIE-LCHlch(63.78, 87.21, 136.84°)
OKLaboklab(66.71% -0.1726 0.1315)
OKLCHoklch(66.71% 0.217 142.7)
XYZxyz(16.7428, 32.5368, 6.4345)
Luminance0.3254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1AB31B #B31AB2
analogous
#66B31A #1AB31B #1AB367
triadic
#1AB31B #1B1AB3 #B31B1A
tetradic
#1AB31B #1A66B3 #B31AB2 #B3671A
square
#1AB31B #1A66B3 #B31AB2 #B3671A
split-complementary
#1AB31B #671AB3 #B31A66
monochromatic
#0A480B #127E13 #1AB31B #2AE02B #60E860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1AB31B#FFFFFF#000000##000000
##1AB31B1.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)
#A89630
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #1ab31b;
/* rgb */ color: rgb(26, 179, 27);
/* oklch */ color: oklch(66.7% 0.217 142.7);
Tailwind
colors: {
  custom: {
    50: '#78cb67',
    500: '#1ab31b',
    950: '#000000',
  },
}
SCSS
$custom: #1ab31b;
$custom-light: #78cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#1ab31b",
  "rgb": {
    "r": 26,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 120.392,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66712,
    "c": 0.21699,
    "h": 142.7
  },
  "luminance": 0.32539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1AB31B

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

Preview Lab → · Contrast checker → · Palette generator →

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