#31B134#31B134

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

Color values

HEX#31B134
RGBrgb(49, 177, 52)
HSLhsl(121, 57%, 44%)
HSVhsv(121, 72%, 69%)
CMYKcmyk(72.3%, 0%, 70.6%, 30.6%)
CIE-LABlab(63.63, -58.18, 51.60)
CIE-LCHlch(63.63, 77.77, 138.43°)
OKLaboklab(66.73% -0.1578 0.1178)
OKLCHoklch(66.73% 0.197 143.3)
XYZxyz(17.6075, 32.3432, 8.5631)
Luminance0.3235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B134 #B131AE
analogous
#6EB131 #31B134 #31B174
triadic
#31B134 #3431B1 #B13431
tetradic
#31B134 #316EB1 #B131AE #B17431
square
#31B134 #316EB1 #B131AE #B17431
split-complementary
#31B134 #7431B1 #B1316E
monochromatic
#165118 #248126 #31B134 #51CF53 #80DC83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B134#FFFFFF#000000##000000
##31B1341.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)
#B5A021
Deuteranopia (green-blind)
#A69640
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b134;
/* rgb */ color: rgb(49, 177, 52);
/* oklch */ color: oklch(66.7% 0.197 143.3);
Tailwind
colors: {
  custom: {
    50: '#7dc972',
    500: '#31b134',
    950: '#000000',
  },
}
SCSS
$custom: #31b134;
$custom-light: #7dc972;
$custom-dark: #000000;
JSON
{
  "hex": "#31b134",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 121.406,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66727,
    "c": 0.19695,
    "h": 143.3
  },
  "luminance": 0.32345
}

Semantic roles & 50–950 ramp

primary
#31B134
secondary
#C579C3
accent
#48DCE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B134

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

Preview Lab → · Contrast checker → · Palette generator →

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