#31911C#31911C

#31911C is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.8% C 0.174 H 140.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#31911C
RGBrgb(49, 145, 28)
HSLhsl(109, 68%, 34%)
HSVhsv(109, 81%, 57%)
CMYKcmyk(66.2%, 0%, 80.7%, 43.1%)
CIE-LABlab(52.93, -49.11, 49.51)
CIE-LCHlch(52.93, 69.74, 134.77°)
OKLaboklab(57.81% -0.1345 0.1102)
OKLCHoklch(57.81% 0.174 140.7)
XYZxyz(11.6010, 20.9864, 4.5378)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31911C #7C1C91
analogous
#6C911C #31911C #1C9142
triadic
#31911C #1C3191 #911C31
tetradic
#31911C #1C6C91 #7C1C91 #91421C
square
#31911C #1C6C91 #7C1C91 #91421C
split-complementary
#31911C #421C91 #911C6C
monochromatic
#0E2A08 #205E12 #31911C #42C426 #65DC4B

Accessibility & contrast

On white

4.04
#31911C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#31911C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31911C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31911C#FFFFFF#000000##000000
##31911C1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8A7B2A
Tritanopia (blue-blind)
#208C7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31911c;
/* rgb */ color: rgb(49, 145, 28);
/* oklch */ color: oklch(57.8% 0.174 140.7);
Tailwind
colors: {
  custom: {
    50: '#77b262',
    500: '#31911c',
    950: '#000000',
  },
}
SCSS
$custom: #31911c;
$custom-light: #77b262;
$custom-dark: #000000;
JSON
{
  "hex": "#31911c",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 109.231,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.17389,
    "h": 140.7
  },
  "luminance": 0.20988
}

Semantic roles & 50–950 ramp

primary
#31911C
secondary
#AA4ABE
accent
#3DEBCB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31911C

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

Preview Lab → · Contrast checker → · Palette generator →

#31911C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva