#31992F#31992F

#31992F is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.2% C 0.172 H 142.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#31992F
RGBrgb(49, 153, 47)
HSLhsl(119, 53%, 39%)
HSVhsv(119, 69%, 60%)
CMYKcmyk(68%, 0%, 69.3%, 40%)
CIE-LABlab(55.72, -50.42, 45.27)
CIE-LCHlch(55.72, 67.76, 138.08°)
OKLaboklab(60.17% -0.137 0.104)
OKLCHoklch(60.17% 0.172 142.8)
XYZxyz(13.1702, 23.6393, 6.5575)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31992F #972F99
analogous
#66992F #31992F #2F9962
triadic
#31992F #2F3199 #992F31
tetradic
#31992F #2F6699 #972F99 #99622F
square
#31992F #2F6699 #972F99 #99622F
split-complementary
#31992F #622F99 #992F66
monochromatic
#133B12 #226A21 #31992F #43C541 #71D36F

Accessibility & contrast

On white

3.67
#31992F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#31992F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31992F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31992F#FFFFFF#000000##000000
##31992F1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B20
Deuteranopia (green-blind)
#908239
Tritanopia (blue-blind)
#189484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31992f;
/* rgb */ color: rgb(49, 153, 47);
/* oklch */ color: oklch(60.2% 0.172 142.8);
Tailwind
colors: {
  custom: {
    50: '#78b86d',
    500: '#31992f',
    950: '#000000',
  },
}
SCSS
$custom: #31992f;
$custom-light: #78b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#31992f",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 118.868,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.172,
    "h": 142.8
  },
  "luminance": 0.23641
}

Semantic roles & 50–950 ramp

primary
#31992F
secondary
#B969BA
accent
#4BDCDA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #31992F

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

Preview Lab → · Contrast checker → · Palette generator →

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