#31B359#31B359

#31B359 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.7% C 0.170 H 149.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#31B359
RGBrgb(49, 179, 89)
HSLhsl(138, 57%, 45%)
HSVhsv(138, 73%, 70%)
CMYKcmyk(72.6%, 0%, 50.3%, 29.8%)
CIE-LABlab(64.65, -54.33, 35.94)
CIE-LCHlch(64.65, 65.14, 146.52°)
OKLaboklab(67.7% -0.1462 0.0872)
OKLCHoklch(67.7% 0.17 149.2)
XYZxyz(19.1884, 33.6123, 14.9258)
Luminance0.3361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B359 #B3318B
analogous
#4AB331 #31B359 #31B39A
triadic
#31B359 #5931B3 #B35931
tetradic
#31B359 #314AB3 #B3318B #B39A31
square
#31B359 #314AB3 #B3318B #B39A31
split-complementary
#31B359 #9A31B3 #B3314A
monochromatic
#175329 #248341 #31B359 #52D078 #82DD9E

Accessibility & contrast

On white

2.72
#31B359 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#31B359 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B359
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B359#FFFFFF#000000##000000
##31B3591.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A351
Deuteranopia (green-blind)
#A59960
Tritanopia (blue-blind)
#00B09E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b359;
/* rgb */ color: rgb(49, 179, 89);
/* oklch */ color: oklch(67.7% 0.170 149.2);
Tailwind
colors: {
  custom: {
    50: '#7ccb89',
    500: '#31b359',
    950: '#000000',
  },
}
SCSS
$custom: #31b359;
$custom-light: #7ccb89;
$custom-dark: #000000;
JSON
{
  "hex": "#31b359",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 89
  },
  "hsl": {
    "h": 138.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67702,
    "c": 0.17018,
    "h": 149.2
  },
  "luminance": 0.33614
}

Semantic roles & 50–950 ramp

primary
#31B359
secondary
#C67AAE
accent
#48B1E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B359

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

Preview Lab → · Contrast checker → · Palette generator →

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