#31AB36#31AB36

#31AB36 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.1% C 0.189 H 143.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#31AB36
RGBrgb(49, 171, 54)
HSLhsl(122, 55%, 43%)
HSVhsv(122, 71%, 67%)
CMYKcmyk(71.3%, 0%, 68.4%, 32.9%)
CIE-LABlab(61.69, -55.99, 48.75)
CIE-LCHlch(61.69, 74.23, 138.95°)
OKLaboklab(65.13% -0.1517 0.1121)
OKLCHoklch(65.13% 0.189 143.5)
XYZxyz(16.4944, 30.0433, 8.4190)
Luminance0.3004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB36 #AB31A6
analogous
#69AB31 #31AB36 #31AB73
triadic
#31AB36 #3631AB #AB3631
tetradic
#31AB36 #3169AB #AB31A6 #AB7331
square
#31AB36 #3169AB #AB31A6 #AB7331
split-complementary
#31AB36 #7331AB #AB3169
monochromatic
#164C18 #237B27 #31AB36 #4DCC52 #7DDA81

Accessibility & contrast

On white

3.00
#31AB36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#31AB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB36
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB36#FFFFFF#000000##000000
##31AB361.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B26
Deuteranopia (green-blind)
#A09141
Tritanopia (blue-blind)
#02A693
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab36;
/* rgb */ color: rgb(49, 171, 54);
/* oklch */ color: oklch(65.1% 0.189 143.5);
Tailwind
colors: {
  custom: {
    50: '#7bc573',
    500: '#31ab36',
    950: '#000000',
  },
}
SCSS
$custom: #31ab36;
$custom-light: #7bc573;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab36",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 122.459,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65128,
    "c": 0.18866,
    "h": 143.5
  },
  "luminance": 0.30045
}

Semantic roles & 50–950 ramp

primary
#31AB36
secondary
#C275BF
accent
#49D9DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AB36

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

Preview Lab → · Contrast checker → · Palette generator →

#31AB36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva