#31B82B#31B82B

#31B82B is a light, highly saturated green. Relative luminance 0.351; OKLCH L 68.5% C 0.210 H 142.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#31B82B
RGBrgb(49, 184, 43)
HSLhsl(117, 62%, 45%)
HSVhsv(117, 77%, 72%)
CMYKcmyk(73.4%, 0%, 76.6%, 27.8%)
CIE-LABlab(65.83, -61.18, 57.08)
CIE-LCHlch(65.83, 83.68, 136.98°)
OKLaboklab(68.54% -0.1664 0.1281)
OKLCHoklch(68.54% 0.21 142.4)
XYZxyz(18.8420, 35.1062, 8.0682)
Luminance0.3511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B82B #B22BB8
analogous
#78B82B #31B82B #2BB86C
triadic
#31B82B #2B31B8 #B82B31
tetradic
#31B82B #2B78B8 #B22BB8 #B86C2B
square
#31B82B #2B78B8 #B22BB8 #B86C2B
split-complementary
#31B82B #6C2BB8 #B82B78
monochromatic
#175514 #24861F #31B82B #51D54B #81E17D

Accessibility & contrast

On white

2.62
#31B82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#31B82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B82B
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B82B#FFFFFF#000000##000000
##31B82B1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA607
Deuteranopia (green-blind)
#AD9C3B
Tritanopia (blue-blind)
#00B29D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b82b;
/* rgb */ color: rgb(49, 184, 43);
/* oklch */ color: oklch(68.5% 0.210 142.4);
Tailwind
colors: {
  custom: {
    50: '#7fcf6f',
    500: '#31b82b',
    950: '#000000',
  },
}
SCSS
$custom: #31b82b;
$custom-light: #7fcf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b82b",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 117.447,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68539,
    "c": 0.20998,
    "h": 142.4
  },
  "luminance": 0.35108
}

Semantic roles & 50–950 ramp

primary
#31B82B
secondary
#C576C9
accent
#43E5DE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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