#31B437#31B437

#31B437 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.6% C 0.198 H 143.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#31B437
RGBrgb(49, 180, 55)
HSLhsl(123, 57%, 45%)
HSVhsv(123, 73%, 71%)
CMYKcmyk(72.8%, 0%, 69.4%, 29.4%)
CIE-LABlab(64.62, -58.90, 51.46)
CIE-LCHlch(64.62, 78.22, 138.86°)
OKLaboklab(67.56% -0.1596 0.1179)
OKLCHoklch(67.56% 0.198 143.5)
XYZxyz(18.2763, 33.5693, 9.1300)
Luminance0.3357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B437 #B431AE
analogous
#6DB431 #31B437 #31B478
triadic
#31B437 #3731B4 #B43731
tetradic
#31B437 #316DB4 #B431AE #B47831
square
#31B437 #316DB4 #B431AE #B47831
split-complementary
#31B437 #7831B4 #B4316D
monochromatic
#17541A #248428 #31B437 #52D058 #82DD86

Accessibility & contrast

On white

2.72
#31B437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#31B437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B437
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B437#FFFFFF#000000##000000
##31B4371.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A325
Deuteranopia (green-blind)
#A99943
Tritanopia (blue-blind)
#00AF9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b437;
/* rgb */ color: rgb(49, 180, 55);
/* oklch */ color: oklch(67.6% 0.198 143.5);
Tailwind
colors: {
  custom: {
    50: '#7dcc74',
    500: '#31b437',
    950: '#000000',
  },
}
SCSS
$custom: #31b437;
$custom-light: #7dcc74;
$custom-dark: #000000;
JSON
{
  "hex": "#31b437",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 55
  },
  "hsl": {
    "h": 122.748,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67559,
    "c": 0.19845,
    "h": 143.5
  },
  "luminance": 0.33571
}

Semantic roles & 50–950 ramp

primary
#31B437
secondary
#C67BC3
accent
#47D9E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B437

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

Preview Lab → · Contrast checker → · Palette generator →

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