#31B337#31B337

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

Color values

HEX#31B337
RGBrgb(49, 179, 55)
HSLhsl(123, 57%, 45%)
HSVhsv(123, 73%, 70%)
CMYKcmyk(72.6%, 0%, 69.3%, 29.8%)
CIE-LABlab(64.30, -58.57, 51.12)
CIE-LCHlch(64.30, 77.74, 138.89°)
OKLaboklab(67.29% -0.1587 0.1172)
OKLCHoklch(67.29% 0.197 143.6)
XYZxyz(18.0752, 33.1670, 9.0630)
Luminance0.3317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B337 #B331AD
analogous
#6CB331 #31B337 #31B378
triadic
#31B337 #3731B3 #B33731
tetradic
#31B337 #316CB3 #B331AD #B37831
square
#31B337 #316CB3 #B331AD #B37831
split-complementary
#31B337 #7831B3 #B3316C
monochromatic
#175319 #248328 #31B337 #52D057 #82DD86

Accessibility & contrast

On white

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

On black

7.63
#31B337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B337
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B337#FFFFFF#000000##000000
##31B3371.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b337;
/* rgb */ color: rgb(49, 179, 55);
/* oklch */ color: oklch(67.3% 0.197 143.6);
Tailwind
colors: {
  custom: {
    50: '#7dcb74',
    500: '#31b337',
    950: '#000000',
  },
}
SCSS
$custom: #31b337;
$custom-light: #7dcb74;
$custom-dark: #000000;
JSON
{
  "hex": "#31b337",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 122.769,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67291,
    "c": 0.1973,
    "h": 143.6
  },
  "luminance": 0.33169
}

Semantic roles & 50–950 ramp

primary
#31B337
secondary
#C67AC2
accent
#48D9E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B337

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

Preview Lab → · Contrast checker → · Palette generator →

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