#31941F#31941F

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

Color values

HEX#31941F
RGBrgb(49, 148, 31)
HSLhsl(111, 65%, 35%)
HSVhsv(111, 79%, 58%)
CMYKcmyk(66.9%, 0%, 79.1%, 42%)
CIE-LABlab(53.95, -49.97, 49.51)
CIE-LCHlch(53.95, 70.35, 135.26°)
OKLaboklab(58.66% -0.1367 0.1107)
OKLCHoklch(58.66% 0.176 141)
XYZxyz(12.1032, 21.9305, 4.8912)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31941F #821F94
analogous
#6C941F #31941F #1F9447
triadic
#31941F #1F3194 #941F31
tetradic
#31941F #1F6C94 #821F94 #94471F
square
#31941F #1F6C94 #821F94 #94471F
split-complementary
#31941F #471F94 #941F6C
monochromatic
#0F2F0A #206114 #31941F #42C72A #68DB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31941F#FFFFFF#000000##000000
##31941F1.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: #31941f;
/* rgb */ color: rgb(49, 148, 31);
/* oklch */ color: oklch(58.7% 0.176 141.0);
Tailwind
colors: {
  custom: {
    50: '#77b464',
    500: '#31941f',
    950: '#000000',
  },
}
SCSS
$custom: #31941f;
$custom-light: #77b464;
$custom-dark: #000000;
JSON
{
  "hex": "#31941f",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 110.769,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58662,
    "c": 0.17585,
    "h": 141
  },
  "luminance": 0.21932
}

Semantic roles & 50–950 ramp

primary
#31941F
secondary
#AD51BE
accent
#3FE8CE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31941F

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

Preview Lab → · Contrast checker → · Palette generator →

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