#31913F#31913F

#31913F is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.2% C 0.149 H 145.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#31913F
RGBrgb(49, 145, 63)
HSLhsl(129, 49%, 38%)
HSVhsv(129, 66%, 57%)
CMYKcmyk(66.2%, 0%, 56.6%, 43.1%)
CIE-LABlab(53.23, -45.60, 35.06)
CIE-LCHlch(53.23, 57.52, 142.45°)
OKLaboklab(58.16% -0.1232 0.0836)
OKLCHoklch(58.16% 0.149 145.8)
XYZxyz(12.2884, 21.2614, 8.1579)
Luminance0.2126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31913F #913183
analogous
#539131 #31913F #31916F
triadic
#31913F #3F3191 #913F31
tetradic
#31913F #315391 #913183 #916F31
square
#31913F #315391 #913183 #916F31
split-complementary
#31913F #6F3191 #913153
monochromatic
#123617 #22632B #31913F #41BF53 #6ECE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31913F#FFFFFF#000000##000000
##31913F1.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)
#938437
Deuteranopia (green-blind)
#877C45
Tritanopia (blue-blind)
#168E7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #31913f;
/* rgb */ color: rgb(49, 145, 63);
/* oklch */ color: oklch(58.2% 0.149 145.8);
Tailwind
colors: {
  custom: {
    50: '#75b276',
    500: '#31913f',
    950: '#000000',
  },
}
SCSS
$custom: #31913f;
$custom-light: #75b276;
$custom-dark: #000000;
JSON
{
  "hex": "#31913f",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 63
  },
  "hsl": {
    "h": 128.75,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58157,
    "c": 0.14894,
    "h": 145.8
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#31913F
secondary
#B668AA
accent
#4FC5D9
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #31913F

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

Preview Lab → · Contrast checker → · Palette generator →

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