#31AB38#31AB38

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

Color values

HEX#31AB38
RGBrgb(49, 171, 56)
HSLhsl(123, 55%, 43%)
HSVhsv(123, 71%, 67%)
CMYKcmyk(71.3%, 0%, 67.3%, 32.9%)
CIE-LABlab(61.71, -55.79, 47.93)
CIE-LCHlch(61.71, 73.55, 139.33°)
OKLaboklab(65.15% -0.1511 0.1106)
OKLCHoklch(65.15% 0.187 143.8)
XYZxyz(16.5423, 30.0625, 8.6715)
Luminance0.3006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB38 #AB31A4
analogous
#67AB31 #31AB38 #31AB75
triadic
#31AB38 #3831AB #AB3831
tetradic
#31AB38 #3167AB #AB31A4 #AB7531
square
#31AB38 #3167AB #AB31A4 #AB7531
split-complementary
#31AB38 #7531AB #AB3167
monochromatic
#164C19 #237B28 #31AB38 #4DCC54 #7DDA82

Accessibility & contrast

On white

2.99
#31AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AB38#FFFFFF#000000##000000
##31AB381.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B29
Deuteranopia (green-blind)
#A09143
Tritanopia (blue-blind)
#01A693
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab38;
/* rgb */ color: rgb(49, 171, 56);
/* oklch */ color: oklch(65.1% 0.187 143.8);
Tailwind
colors: {
  custom: {
    50: '#7bc574',
    500: '#31ab38',
    950: '#000000',
  },
}
SCSS
$custom: #31ab38;
$custom-light: #7bc574;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab38",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 123.443,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65147,
    "c": 0.18727,
    "h": 143.8
  },
  "luminance": 0.30064
}

Semantic roles & 50–950 ramp

primary
#31AB38
secondary
#C275BE
accent
#49D6DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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