#31B82D#31B82D

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

Color values

HEX#31B82D
RGBrgb(49, 184, 45)
HSLhsl(118, 61%, 45%)
HSVhsv(118, 76%, 72%)
CMYKcmyk(73.4%, 0%, 75.5%, 27.8%)
CIE-LABlab(65.84, -61.04, 56.42)
CIE-LCHlch(65.84, 83.12, 137.25°)
OKLaboklab(68.55% -0.1659 0.127)
OKLCHoklch(68.55% 0.209 142.6)
XYZxyz(18.8796, 35.1213, 8.2662)
Luminance0.3512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B82D #B42DB8
analogous
#77B82D #31B82D #2DB86E
triadic
#31B82D #2D31B8 #B82D31
tetradic
#31B82D #2D77B8 #B42DB8 #B86E2D
square
#31B82D #2D77B8 #B42DB8 #B86E2D
split-complementary
#31B82D #6E2DB8 #B82D77
monochromatic
#175615 #248721 #31B82D #52D44E #82E080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B82D#FFFFFF#000000##000000
##31B82D1.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)
#BCA60E
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#00B29D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b82d;
/* rgb */ color: rgb(49, 184, 45);
/* oklch */ color: oklch(68.6% 0.209 142.6);
Tailwind
colors: {
  custom: {
    50: '#7fcf70',
    500: '#31b82d',
    950: '#000000',
  },
}
SCSS
$custom: #31b82d;
$custom-light: #7fcf70;
$custom-dark: #000000;
JSON
{
  "hex": "#31b82d",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 118.273,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68553,
    "c": 0.20893,
    "h": 142.6
  },
  "luminance": 0.35123
}

Semantic roles & 50–950 ramp

primary
#31B82D
secondary
#C678C9
accent
#44E4DF
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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