#31B34A#31B34A

#31B34A is a light, vivid green. Relative luminance 0.334; OKLCH L 67.5% C 0.183 H 146.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#31B34A
RGBrgb(49, 179, 74)
HSLhsl(132, 57%, 45%)
HSVhsv(132, 73%, 70%)
CMYKcmyk(72.6%, 0%, 58.7%, 29.8%)
CIE-LABlab(64.47, -56.46, 43.02)
CIE-LCHlch(64.47, 70.98, 142.70°)
OKLaboklab(67.49% -0.1522 0.1018)
OKLCHoklch(67.49% 0.183 146.2)
XYZxyz(18.6214, 33.3855, 11.9399)
Luminance0.3339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B34A #B3319A
analogous
#59B331 #31B34A #31B38B
triadic
#31B34A #4A31B3 #B34A31
tetradic
#31B34A #3159B3 #B3319A #B38B31
square
#31B34A #3159B3 #B3319A #B38B31
split-complementary
#31B34A #8B31B3 #B33159
monochromatic
#175322 #248336 #31B34A #52D06A #82DD93

Accessibility & contrast

On white

2.74
#31B34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#31B34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B34A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B34A#FFFFFF#000000##000000
##31B34A1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33F
Deuteranopia (green-blind)
#A69852
Tritanopia (blue-blind)
#00AF9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b34a;
/* rgb */ color: rgb(49, 179, 74);
/* oklch */ color: oklch(67.5% 0.183 146.2);
Tailwind
colors: {
  custom: {
    50: '#7ccb80',
    500: '#31b34a',
    950: '#000000',
  },
}
SCSS
$custom: #31b34a;
$custom-light: #7ccb80;
$custom-dark: #000000;
JSON
{
  "hex": "#31b34a",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 131.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67493,
    "c": 0.18315,
    "h": 146.2
  },
  "luminance": 0.33388
}

Semantic roles & 50–950 ramp

primary
#31B34A
secondary
#C67AB7
accent
#48C3E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B34A

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

Preview Lab → · Contrast checker → · Palette generator →

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