#31B346#31B346

#31B346 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.4% C 0.186 H 145.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#31B346
RGBrgb(49, 179, 70)
HSLhsl(130, 57%, 45%)
HSVhsv(130, 73%, 70%)
CMYKcmyk(72.6%, 0%, 60.9%, 29.8%)
CIE-LABlab(64.43, -56.96, 44.82)
CIE-LCHlch(64.43, 72.48, 141.81°)
OKLaboklab(67.44% -0.1537 0.1054)
OKLCHoklch(67.44% 0.186 145.6)
XYZxyz(18.4909, 33.3333, 11.2526)
Luminance0.3333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B346 #B3319E
analogous
#5DB331 #31B346 #31B387
triadic
#31B346 #4631B3 #B34631
tetradic
#31B346 #315DB3 #B3319E #B38731
square
#31B346 #315DB3 #B3319E #B38731
split-complementary
#31B346 #8731B3 #B3315D
monochromatic
#175320 #248333 #31B346 #52D066 #82DD90

Accessibility & contrast

On white

2.74
#31B346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#31B346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B346
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B346#FFFFFF#000000##000000
##31B3461.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33A
Deuteranopia (green-blind)
#A7984F
Tritanopia (blue-blind)
#00AF9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b346;
/* rgb */ color: rgb(49, 179, 70);
/* oklch */ color: oklch(67.4% 0.186 145.6);
Tailwind
colors: {
  custom: {
    50: '#7ccb7d',
    500: '#31b346',
    950: '#000000',
  },
}
SCSS
$custom: #31b346;
$custom-light: #7ccb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b346",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 129.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67445,
    "c": 0.18636,
    "h": 145.6
  },
  "luminance": 0.33335
}

Semantic roles & 50–950 ramp

primary
#31B346
secondary
#C67ABA
accent
#48C8E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B346

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

Preview Lab → · Contrast checker → · Palette generator →

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