#31B43B#31B43B

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

Color values

HEX#31B43B
RGBrgb(49, 180, 59)
HSLhsl(125, 57%, 45%)
HSVhsv(125, 73%, 71%)
CMYKcmyk(72.8%, 0%, 67.2%, 29.4%)
CIE-LABlab(64.65, -58.52, 49.87)
CIE-LCHlch(64.65, 76.88, 139.56°)
OKLaboklab(67.6% -0.1584 0.115)
OKLCHoklch(67.6% 0.196 144)
XYZxyz(18.3761, 33.6092, 9.6556)
Luminance0.3361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B43B #B431AA
analogous
#69B431 #31B43B #31B47C
triadic
#31B43B #3B31B4 #B43B31
tetradic
#31B43B #3169B4 #B431AA #B47C31
square
#31B43B #3169B4 #B431AA #B47C31
split-complementary
#31B43B #7C31B4 #B43169
monochromatic
#17541B #24842B #31B43B #52D05C #82DD89

Accessibility & contrast

On white

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

On black

7.72
#31B43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B43B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B43B#FFFFFF#000000##000000
##31B43B1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b43b;
/* rgb */ color: rgb(49, 180, 59);
/* oklch */ color: oklch(67.6% 0.196 144.0);
Tailwind
colors: {
  custom: {
    50: '#7dcc77',
    500: '#31b43b',
    950: '#000000',
  },
}
SCSS
$custom: #31b43b;
$custom-light: #7dcc77;
$custom-dark: #000000;
JSON
{
  "hex": "#31b43b",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 124.58,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67596,
    "c": 0.19575,
    "h": 144
  },
  "luminance": 0.33611
}

Semantic roles & 50–950 ramp

primary
#31B43B
secondary
#C67BC0
accent
#47D5E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B43B

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

Preview Lab → · Contrast checker → · Palette generator →

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