#31B135#31B135

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

Color values

HEX#31B135
RGBrgb(49, 177, 53)
HSLhsl(122, 57%, 44%)
HSVhsv(122, 72%, 69%)
CMYKcmyk(72.3%, 0%, 70.1%, 30.6%)
CIE-LABlab(63.63, -58.09, 51.21)
CIE-LCHlch(63.63, 77.44, 138.60°)
OKLaboklab(66.74% -0.1575 0.1172)
OKLCHoklch(66.74% 0.196 143.4)
XYZxyz(17.6303, 32.3523, 8.6830)
Luminance0.3235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B135 #B131AD
analogous
#6DB131 #31B135 #31B175
triadic
#31B135 #3531B1 #B13531
tetradic
#31B135 #316DB1 #B131AD #B17531
square
#31B135 #316DB1 #B131AD #B17531
split-complementary
#31B135 #7531B1 #B1316D
monochromatic
#165118 #248127 #31B135 #51CF54 #80DC83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B135#FFFFFF#000000##000000
##31B1351.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)
#B5A022
Deuteranopia (green-blind)
#A69641
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b135;
/* rgb */ color: rgb(49, 177, 53);
/* oklch */ color: oklch(66.7% 0.196 143.4);
Tailwind
colors: {
  custom: {
    50: '#7dc973',
    500: '#31b135',
    950: '#000000',
  },
}
SCSS
$custom: #31b135;
$custom-light: #7dc973;
$custom-dark: #000000;
JSON
{
  "hex": "#31b135",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 121.875,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66736,
    "c": 0.19631,
    "h": 143.4
  },
  "luminance": 0.32354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B135

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

Preview Lab → · Contrast checker → · Palette generator →

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