#31B133#31B133

#31B133 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.7% C 0.198 H 143.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#31B133
RGBrgb(49, 177, 51)
HSLhsl(121, 57%, 44%)
HSVhsv(121, 72%, 69%)
CMYKcmyk(72.3%, 0%, 71.2%, 30.6%)
CIE-LABlab(63.62, -58.27, 51.98)
CIE-LCHlch(63.62, 78.09, 138.27°)
OKLaboklab(66.72% -0.1581 0.1185)
OKLCHoklch(66.72% 0.198 143.1)
XYZxyz(17.5852, 32.3343, 8.4457)
Luminance0.3234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B133 #B131AF
analogous
#6FB131 #31B133 #31B173
triadic
#31B133 #3331B1 #B13331
tetradic
#31B133 #316FB1 #B131AF #B17331
square
#31B133 #316FB1 #B131AF #B17331
split-complementary
#31B133 #7331B1 #B1316F
monochromatic
#165117 #248125 #31B133 #51CF52 #80DC82

Accessibility & contrast

On white

2.81
#31B133 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#31B133 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B133
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B133#FFFFFF#000000##000000
##31B1331.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01F
Deuteranopia (green-blind)
#A69640
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b133;
/* rgb */ color: rgb(49, 177, 51);
/* oklch */ color: oklch(66.7% 0.198 143.1);
Tailwind
colors: {
  custom: {
    50: '#7dc972',
    500: '#31b133',
    950: '#000000',
  },
}
SCSS
$custom: #31b133;
$custom-light: #7dc972;
$custom-dark: #000000;
JSON
{
  "hex": "#31b133",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 51
  },
  "hsl": {
    "h": 120.938,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.19759,
    "h": 143.1
  },
  "luminance": 0.32336
}

Semantic roles & 50–950 ramp

primary
#31B133
secondary
#C579C4
accent
#48DEE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B133

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

Preview Lab → · Contrast checker → · Palette generator →

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