#31B350#31B350

#31B350 is a light, vivid green. Relative luminance 0.335; OKLCH L 67.6% C 0.178 H 147.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#31B350
RGBrgb(49, 179, 80)
HSLhsl(134, 57%, 45%)
HSVhsv(134, 73%, 70%)
CMYKcmyk(72.6%, 0%, 55.3%, 29.8%)
CIE-LABlab(64.54, -55.66, 40.24)
CIE-LCHlch(64.54, 68.68, 144.13°)
OKLaboklab(67.57% -0.1499 0.0962)
OKLCHoklch(67.57% 0.178 147.3)
XYZxyz(18.8333, 33.4702, 13.0557)
Luminance0.3347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B350 #B33194
analogous
#53B331 #31B350 #31B391
triadic
#31B350 #5031B3 #B35031
tetradic
#31B350 #3153B3 #B33194 #B39131
square
#31B350 #3153B3 #B33194 #B39131
split-complementary
#31B350 #9131B3 #B33153
monochromatic
#175325 #24833B #31B350 #52D070 #82DD97

Accessibility & contrast

On white

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

On black

7.69
#31B350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B350
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B350#FFFFFF#000000##000000
##31B3501.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A347
Deuteranopia (green-blind)
#A69858
Tritanopia (blue-blind)
#00AF9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b350;
/* rgb */ color: rgb(49, 179, 80);
/* oklch */ color: oklch(67.6% 0.178 147.3);
Tailwind
colors: {
  custom: {
    50: '#7ccb83',
    500: '#31b350',
    950: '#000000',
  },
}
SCSS
$custom: #31b350;
$custom-light: #7ccb83;
$custom-dark: #000000;
JSON
{
  "hex": "#31b350",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 80
  },
  "hsl": {
    "h": 134.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67571,
    "c": 0.17811,
    "h": 147.3
  },
  "luminance": 0.33472
}

Semantic roles & 50–950 ramp

primary
#31B350
secondary
#C67AB4
accent
#48BCE0
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B350

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

Preview Lab → · Contrast checker → · Palette generator →

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