#31912E#31912E

#31912E is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.0% C 0.163 H 142.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#31912E
RGBrgb(49, 145, 46)
HSLhsl(118, 52%, 37%)
HSVhsv(118, 68%, 57%)
CMYKcmyk(66.2%, 0%, 68.3%, 43.1%)
CIE-LABlab(53.06, -47.64, 42.83)
CIE-LCHlch(53.06, 64.06, 138.04°)
OKLaboklab(57.96% -0.1295 0.0987)
OKLCHoklch(57.96% 0.163 142.7)
XYZxyz(11.8845, 21.0998, 6.0306)
Luminance0.2110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31912E #8E2E91
analogous
#62912E #31912E #2E915D
triadic
#31912E #2E3191 #912E31
tetradic
#31912E #2E6291 #8E2E91 #915D2E
square
#31912E #2E6291 #8E2E91 #915D2E
split-complementary
#31912E #5D2E91 #912E62
monochromatic
#123411 #21631F #31912E #41BF3D #6DD06A

Accessibility & contrast

On white

4.02
#31912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#31912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31912E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31912E#FFFFFF#000000##000000
##31912E1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948421
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#1C8D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #31912e;
/* rgb */ color: rgb(49, 145, 46);
/* oklch */ color: oklch(58.0% 0.163 142.7);
Tailwind
colors: {
  custom: {
    50: '#76b26c',
    500: '#31912e',
    950: '#000000',
  },
}
SCSS
$custom: #31912e;
$custom-light: #76b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#31912e",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 118.182,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.16285,
    "h": 142.7
  },
  "luminance": 0.21101
}

Semantic roles & 50–950 ramp

primary
#31912E
secondary
#B464B7
accent
#4DDBD7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #31912E

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

Preview Lab → · Contrast checker → · Palette generator →

#31912E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva