#31913D#31913D

#31913D is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.1% C 0.151 H 145.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#31913D
RGBrgb(49, 145, 61)
HSLhsl(128, 49%, 38%)
HSVhsv(128, 66%, 57%)
CMYKcmyk(66.2%, 0%, 57.9%, 43.1%)
CIE-LABlab(53.21, -45.87, 36.02)
CIE-LCHlch(53.21, 58.32, 141.86°)
OKLaboklab(58.13% -0.124 0.0856)
OKLCHoklch(58.13% 0.151 145.4)
XYZxyz(12.2335, 21.2394, 7.8689)
Luminance0.2124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31913D #913185
analogous
#559131 #31913D #31916D
triadic
#31913D #3D3191 #913D31
tetradic
#31913D #315591 #913185 #916D31
square
#31913D #315591 #913185 #916D31
split-complementary
#31913D #6D3191 #913155
monochromatic
#123617 #22632A #31913D #41BF50 #6ECE7A

Accessibility & contrast

On white

4.00
#31913D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#31913D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31913D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31913D#FFFFFF#000000##000000
##31913D1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938435
Deuteranopia (green-blind)
#887C44
Tritanopia (blue-blind)
#178D7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #31913d;
/* rgb */ color: rgb(49, 145, 61);
/* oklch */ color: oklch(58.1% 0.151 145.4);
Tailwind
colors: {
  custom: {
    50: '#75b275',
    500: '#31913d',
    950: '#000000',
  },
}
SCSS
$custom: #31913d;
$custom-light: #75b275;
$custom-dark: #000000;
JSON
{
  "hex": "#31913d",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 61
  },
  "hsl": {
    "h": 127.5,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.15071,
    "h": 145.4
  },
  "luminance": 0.21241
}

Semantic roles & 50–950 ramp

primary
#31913D
secondary
#B668AC
accent
#4FC8D9
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #31913D

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

Preview Lab → · Contrast checker → · Palette generator →

#31913D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva