#1AB31F#1AB31F

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

Color values

HEX#1AB31F
RGBrgb(26, 179, 31)
HSLhsl(122, 75%, 40%)
HSVhsv(122, 85%, 70%)
CMYKcmyk(85.5%, 0%, 82.7%, 29.8%)
CIE-LABlab(63.80, -63.41, 58.65)
CIE-LCHlch(63.80, 86.37, 137.23°)
OKLaboklab(66.73% -0.1719 0.1299)
OKLCHoklch(66.73% 0.215 142.9)
XYZxyz(16.7923, 32.5566, 6.6951)
Luminance0.3256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1AB31F #B31AAE
analogous
#61B31A #1AB31F #1AB36C
triadic
#1AB31F #1F1AB3 #B31F1A
tetradic
#1AB31F #1A61B3 #B31AAE #B36C1A
square
#1AB31F #1A61B3 #B31AAE #B36C1A
split-complementary
#1AB31F #6C1AB3 #B31A61
monochromatic
#0A480C #127E16 #1AB31F #2AE030 #60E864

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1AB31F#FFFFFF#000000##000000
##1AB31F1.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)
#A79633
Tritanopia (blue-blind)
#00AE98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #1ab31f;
/* rgb */ color: rgb(26, 179, 31);
/* oklch */ color: oklch(66.7% 0.215 142.9);
Tailwind
colors: {
  custom: {
    50: '#78cb69',
    500: '#1ab31f',
    950: '#000000',
  },
}
SCSS
$custom: #1ab31f;
$custom-light: #78cb69;
$custom-dark: #000000;
JSON
{
  "hex": "#1ab31f",
  "rgb": {
    "r": 26,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 121.961,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66731,
    "c": 0.21546,
    "h": 142.9
  },
  "luminance": 0.32559
}

Semantic roles & 50–950 ramp

primary
#1AB31F
secondary
#CC5DC8
accent
#37EBF1
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #1AB31F

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

Preview Lab → · Contrast checker → · Palette generator →

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