#31941E#31941E

#31941E is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.7% C 0.176 H 140.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#31941E
RGBrgb(49, 148, 30)
HSLhsl(110, 66%, 35%)
HSVhsv(110, 80%, 58%)
CMYKcmyk(66.9%, 0%, 79.7%, 42%)
CIE-LABlab(53.95, -50.04, 49.84)
CIE-LCHlch(53.95, 70.62, 135.12°)
OKLaboklab(58.66% -0.1369 0.1112)
OKLCHoklch(58.66% 0.176 140.9)
XYZxyz(12.0903, 21.9253, 4.8229)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31941E #811E94
analogous
#6C941E #31941E #1E9446
triadic
#31941E #1E3194 #941E31
tetradic
#31941E #1E6C94 #811E94 #94461E
square
#31941E #1E6C94 #811E94 #94461E
split-complementary
#31941E #461E94 #941E6C
monochromatic
#0F2E09 #206114 #31941E #42C728 #67DC51

Accessibility & contrast

On white

3.90
#31941E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#31941E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31941E
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31941E#FFFFFF#000000##000000
##31941E1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#1F8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #31941e;
/* rgb */ color: rgb(49, 148, 30);
/* oklch */ color: oklch(58.7% 0.176 140.9);
Tailwind
colors: {
  custom: {
    50: '#77b464',
    500: '#31941e',
    950: '#000000',
  },
}
SCSS
$custom: #31941e;
$custom-light: #77b464;
$custom-dark: #000000;
JSON
{
  "hex": "#31941e",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 110.339,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.17636,
    "h": 140.9
  },
  "luminance": 0.21927
}

Semantic roles & 50–950 ramp

primary
#31941E
secondary
#AD4FBF
accent
#3FE9CE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31941E

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

Preview Lab → · Contrast checker → · Palette generator →

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