#31B349#31B349

#31B349 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.5% C 0.184 H 146.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#31B349
RGBrgb(49, 179, 73)
HSLhsl(131, 57%, 45%)
HSVhsv(131, 73%, 70%)
CMYKcmyk(72.6%, 0%, 59.2%, 29.8%)
CIE-LABlab(64.46, -56.59, 43.47)
CIE-LCHlch(64.46, 71.36, 142.47°)
OKLaboklab(67.48% -0.1526 0.1027)
OKLCHoklch(67.48% 0.184 146.1)
XYZxyz(18.5880, 33.3721, 11.7639)
Luminance0.3337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B349 #B3319B
analogous
#5AB331 #31B349 #31B38A
triadic
#31B349 #4931B3 #B34931
tetradic
#31B349 #315AB3 #B3319B #B38A31
square
#31B349 #315AB3 #B3319B #B38A31
split-complementary
#31B349 #8A31B3 #B3315A
monochromatic
#175322 #248335 #31B349 #52D069 #82DD93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B349#FFFFFF#000000##000000
##31B3491.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)
#B6A33E
Deuteranopia (green-blind)
#A79852
Tritanopia (blue-blind)
#00AF9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b349;
/* rgb */ color: rgb(49, 179, 73);
/* oklch */ color: oklch(67.5% 0.184 146.1);
Tailwind
colors: {
  custom: {
    50: '#7ccb7f',
    500: '#31b349',
    950: '#000000',
  },
}
SCSS
$custom: #31b349;
$custom-light: #7ccb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b349",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 73
  },
  "hsl": {
    "h": 131.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67481,
    "c": 0.18396,
    "h": 146.1
  },
  "luminance": 0.33374
}

Semantic roles & 50–950 ramp

primary
#31B349
secondary
#C67AB8
accent
#48C4E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B349

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

Preview Lab → · Contrast checker → · Palette generator →

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