#31B34C#31B34C

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

Color values

HEX#31B34C
RGBrgb(49, 179, 76)
HSLhsl(132, 57%, 45%)
HSVhsv(132, 73%, 70%)
CMYKcmyk(72.6%, 0%, 57.5%, 29.8%)
CIE-LABlab(64.49, -56.20, 42.10)
CIE-LCHlch(64.49, 70.22, 143.16°)
OKLaboklab(67.52% -0.1515 0.1)
OKLCHoklch(67.52% 0.181 146.6)
XYZxyz(18.6899, 33.4129, 12.3004)
Luminance0.3342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B34C #B33198
analogous
#57B331 #31B34C #31B38D
triadic
#31B34C #4C31B3 #B34C31
tetradic
#31B34C #3157B3 #B33198 #B38D31
square
#31B34C #3157B3 #B33198 #B38D31
split-complementary
#31B34C #8D31B3 #B33157
monochromatic
#175323 #248338 #31B34C #52D06C #82DD95

Accessibility & contrast

On white

2.73
#31B34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#31B34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B34C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B34C#FFFFFF#000000##000000
##31B34C1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b34c;
/* rgb */ color: rgb(49, 179, 76);
/* oklch */ color: oklch(67.5% 0.181 146.6);
Tailwind
colors: {
  custom: {
    50: '#7ccb81',
    500: '#31b34c',
    950: '#000000',
  },
}
SCSS
$custom: #31b34c;
$custom-light: #7ccb81;
$custom-dark: #000000;
JSON
{
  "hex": "#31b34c",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 76
  },
  "hsl": {
    "h": 132.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67518,
    "c": 0.18149,
    "h": 146.6
  },
  "luminance": 0.33415
}

Semantic roles & 50–950 ramp

primary
#31B34C
secondary
#C67AB6
accent
#48C1E0
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B34C

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

Preview Lab → · Contrast checker → · Palette generator →

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