#31B339#31B339

#31B339 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.3% C 0.196 H 143.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#31B339
RGBrgb(49, 179, 57)
HSLhsl(124, 57%, 45%)
HSVhsv(124, 73%, 70%)
CMYKcmyk(72.6%, 0%, 68.2%, 29.8%)
CIE-LABlab(64.31, -58.38, 50.32)
CIE-LCHlch(64.31, 77.08, 139.24°)
OKLaboklab(67.31% -0.1581 0.1158)
OKLCHoklch(67.31% 0.196 143.8)
XYZxyz(18.1241, 33.1865, 9.3206)
Luminance0.3319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B339 #B331AB
analogous
#6AB331 #31B339 #31B37A
triadic
#31B339 #3931B3 #B33931
tetradic
#31B339 #316AB3 #B331AB #B37A31
square
#31B339 #316AB3 #B331AB #B37A31
split-complementary
#31B339 #7A31B3 #B3316A
monochromatic
#17531A #24832A #31B339 #52D059 #82DD87

Accessibility & contrast

On white

2.75
#31B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#31B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B339
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B339#FFFFFF#000000##000000
##31B3391.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#A89844
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b339;
/* rgb */ color: rgb(49, 179, 57);
/* oklch */ color: oklch(67.3% 0.196 143.8);
Tailwind
colors: {
  custom: {
    50: '#7dcb75',
    500: '#31b339',
    950: '#000000',
  },
}
SCSS
$custom: #31b339;
$custom-light: #7dcb75;
$custom-dark: #000000;
JSON
{
  "hex": "#31b339",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 123.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67309,
    "c": 0.19596,
    "h": 143.8
  },
  "luminance": 0.33189
}

Semantic roles & 50–950 ramp

primary
#31B339
secondary
#C67AC1
accent
#48D7E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B339

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

Preview Lab → · Contrast checker → · Palette generator →

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