#31931E#31931E

#31931E is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.4% C 0.175 H 140.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#31931E
RGBrgb(49, 147, 30)
HSLhsl(110, 66%, 35%)
HSVhsv(110, 80%, 58%)
CMYKcmyk(66.7%, 0%, 79.6%, 42.4%)
CIE-LABlab(53.61, -49.69, 49.52)
CIE-LCHlch(53.61, 70.15, 135.10°)
OKLaboklab(58.38% -0.1359 0.1105)
OKLCHoklch(58.38% 0.175 140.9)
XYZxyz(11.9341, 21.6129, 4.7708)
Luminance0.2161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31931E #801E93
analogous
#6C931E #31931E #1E9345
triadic
#31931E #1E3193 #931E31
tetradic
#31931E #1E6C93 #801E93 #93451E
square
#31931E #1E6C93 #801E93 #93451E
split-complementary
#31931E #451E93 #931E6C
monochromatic
#0F2D09 #206014 #31931E #42C628 #67DB50

Accessibility & contrast

On white

3.95
#31931E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#31931E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31931E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31931E#FFFFFF#000000##000000
##31931E1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#1F8E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #31931e;
/* rgb */ color: rgb(49, 147, 30);
/* oklch */ color: oklch(58.4% 0.175 140.9);
Tailwind
colors: {
  custom: {
    50: '#77b464',
    500: '#31931e',
    950: '#000000',
  },
}
SCSS
$custom: #31931e;
$custom-light: #77b464;
$custom-dark: #000000;
JSON
{
  "hex": "#31931e",
  "rgb": {
    "r": 49,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 110.256,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58379,
    "c": 0.1752,
    "h": 140.9
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

primary
#31931E
secondary
#AC4FBE
accent
#3FE9CD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31931E

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

Preview Lab → · Contrast checker → · Palette generator →

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