#31B32A#31B32A

#31B32A is a light, highly saturated green. Relative luminance 0.331; OKLCH L 67.2% C 0.205 H 142.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#31B32A
RGBrgb(49, 179, 42)
HSLhsl(117, 62%, 43%)
HSVhsv(117, 77%, 70%)
CMYKcmyk(72.6%, 0%, 76.5%, 29.8%)
CIE-LABlab(64.21, -59.64, 55.82)
CIE-LCHlch(64.21, 81.69, 136.89°)
OKLaboklab(67.19% -0.1622 0.1254)
OKLCHoklch(67.19% 0.205 142.3)
XYZxyz(17.8036, 33.0583, 7.6327)
Luminance0.3306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B32A #AC2AB3
analogous
#75B32A #31B32A #2AB367
triadic
#31B32A #2A31B3 #B32A31
tetradic
#31B32A #2A75B3 #AC2AB3 #B3672A
square
#31B32A #2A75B3 #AC2AB3 #B3672A
split-complementary
#31B32A #672AB3 #B32A75
monochromatic
#165013 #23811E #31B32A #4ED446 #7DDF78

Accessibility & contrast

On white

2.76
#31B32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#31B32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B32A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B32A#FFFFFF#000000##000000
##31B32A1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A208
Deuteranopia (green-blind)
#A89839
Tritanopia (blue-blind)
#00AE99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b32a;
/* rgb */ color: rgb(49, 179, 42);
/* oklch */ color: oklch(67.2% 0.205 142.3);
Tailwind
colors: {
  custom: {
    50: '#7ecb6e',
    500: '#31b32a',
    950: '#000000',
  },
}
SCSS
$custom: #31b32a;
$custom-light: #7ecb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b32a",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 42
  },
  "hsl": {
    "h": 116.934,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6719,
    "c": 0.20504,
    "h": 142.3
  },
  "luminance": 0.3306
}

Semantic roles & 50–950 ramp

primary
#31B32A
secondary
#C372C7
accent
#43E5DD
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B32A

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

Preview Lab → · Contrast checker → · Palette generator →

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