#31B43D#31B43D

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

Color values

HEX#31B43D
RGBrgb(49, 180, 61)
HSLhsl(125, 57%, 45%)
HSVhsv(125, 73%, 71%)
CMYKcmyk(72.8%, 0%, 66.1%, 29.4%)
CIE-LABlab(64.67, -58.31, 49.05)
CIE-LCHlch(64.67, 76.20, 139.93°)
OKLaboklab(67.62% -0.1577 0.1135)
OKLCHoklch(67.62% 0.194 144.3)
XYZxyz(18.4290, 33.6303, 9.9340)
Luminance0.3363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B43D #B431A8
analogous
#67B431 #31B43D #31B47E
triadic
#31B43D #3D31B4 #B43D31
tetradic
#31B43D #3167B4 #B431A8 #B47E31
square
#31B43D #3167B4 #B431A8 #B47E31
split-complementary
#31B43D #7E31B4 #B43167
monochromatic
#17541C #24842D #31B43D #52D05E #82DD8B

Accessibility & contrast

On white

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

On black

7.73
#31B43D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B43D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B43D#FFFFFF#000000##000000
##31B43D1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b43d;
/* rgb */ color: rgb(49, 180, 61);
/* oklch */ color: oklch(67.6% 0.194 144.3);
Tailwind
colors: {
  custom: {
    50: '#7dcc78',
    500: '#31b43d',
    950: '#000000',
  },
}
SCSS
$custom: #31b43d;
$custom-light: #7dcc78;
$custom-dark: #000000;
JSON
{
  "hex": "#31b43d",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 61
  },
  "hsl": {
    "h": 125.496,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67615,
    "c": 0.19434,
    "h": 144.3
  },
  "luminance": 0.33632
}

Semantic roles & 50–950 ramp

primary
#31B43D
secondary
#C67BBF
accent
#47D2E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B43D

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

Preview Lab → · Contrast checker → · Palette generator →

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