#31881E#31881E

#31881E is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.162 H 140.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#31881E
RGBrgb(49, 136, 30)
HSLhsl(109, 64%, 33%)
HSVhsv(109, 78%, 53%)
CMYKcmyk(64%, 0%, 77.9%, 46.7%)
CIE-LABlab(49.92, -45.73, 45.94)
CIE-LCHlch(49.92, 64.82, 134.87°)
OKLaboklab(55.32% -0.1253 0.1031)
OKLCHoklch(55.32% 0.162 140.6)
XYZxyz(10.3046, 18.3540, 4.2277)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31881E #751E88
analogous
#66881E #31881E #1E8840
triadic
#31881E #1E3188 #881E31
tetradic
#31881E #1E6688 #751E88 #88401E
square
#31881E #1E6688 #751E88 #88401E
split-complementary
#31881E #401E88 #881E66
monochromatic
#0D2408 #1F5613 #31881E #43BA29 #63D749

Accessibility & contrast

On white

4.50
#31881E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#31881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31881E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31881E#FFFFFF#000000##000000
##31881E1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B06
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#248374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #31881e;
/* rgb */ color: rgb(49, 136, 30);
/* oklch */ color: oklch(55.3% 0.162 140.6);
Tailwind
colors: {
  custom: {
    50: '#75ac62',
    500: '#31881e',
    950: '#000000',
  },
}
SCSS
$custom: #31881e;
$custom-light: #75ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#31881e",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 109.245,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.16222,
    "h": 140.6
  },
  "luminance": 0.18355
}

Semantic roles & 50–950 ramp

primary
#31881E
secondary
#A549B9
accent
#41E7C9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #31881E

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

Preview Lab → · Contrast checker → · Palette generator →

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