#31B442#31B442

#31B442 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.7% C 0.191 H 144.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#31B442
RGBrgb(49, 180, 66)
HSLhsl(128, 57%, 45%)
HSVhsv(128, 73%, 71%)
CMYKcmyk(72.8%, 0%, 63.3%, 29.4%)
CIE-LABlab(64.71, -57.77, 46.93)
CIE-LCHlch(64.71, 74.43, 140.91°)
OKLaboklab(67.67% -0.1561 0.1095)
OKLCHoklch(67.67% 0.191 144.9)
XYZxyz(18.5700, 33.6867, 10.6767)
Luminance0.3369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B442 #B431A3
analogous
#62B431 #31B442 #31B483
triadic
#31B442 #4231B4 #B44231
tetradic
#31B442 #3162B4 #B431A3 #B48331
square
#31B442 #3162B4 #B431A3 #B48331
split-complementary
#31B442 #8331B4 #B43162
monochromatic
#17541F #248430 #31B442 #52D063 #82DD8E

Accessibility & contrast

On white

2.71
#31B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#31B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B442
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B442#FFFFFF#000000##000000
##31B4421.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A335
Deuteranopia (green-blind)
#A8994C
Tritanopia (blue-blind)
#00AF9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b442;
/* rgb */ color: rgb(49, 180, 66);
/* oklch */ color: oklch(67.7% 0.191 144.9);
Tailwind
colors: {
  custom: {
    50: '#7dcc7b',
    500: '#31b442',
    950: '#000000',
  },
}
SCSS
$custom: #31b442;
$custom-light: #7dcc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b442",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 127.786,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67667,
    "c": 0.19067,
    "h": 144.9
  },
  "luminance": 0.33689
}

Semantic roles & 50–950 ramp

primary
#31B442
secondary
#C67BBC
accent
#47CDE0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B442

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

Preview Lab → · Contrast checker → · Palette generator →

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