#31891E#31891E

#31891E is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.163 H 140.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#31891E
RGBrgb(49, 137, 30)
HSLhsl(109, 64%, 33%)
HSVhsv(109, 78%, 54%)
CMYKcmyk(64.2%, 0%, 78.1%, 46.3%)
CIE-LABlab(50.26, -46.10, 46.27)
CIE-LCHlch(50.26, 65.31, 134.90°)
OKLaboklab(55.6% -0.1263 0.1038)
OKLCHoklch(55.6% 0.163 140.6)
XYZxyz(10.4461, 18.6370, 4.2749)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31891E #761E89
analogous
#66891E #31891E #1E8941
triadic
#31891E #1E3189 #891E31
tetradic
#31891E #1E6689 #761E89 #89411E
square
#31891E #1E6689 #761E89 #89411E
split-complementary
#31891E #411E89 #891E66
monochromatic
#0D2508 #1F5713 #31891E #43BB29 #63D74A

Accessibility & contrast

On white

4.44
#31891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#31891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31891E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31891E#FFFFFF#000000##000000
##31891E1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C05
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#238475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #31891e;
/* rgb */ color: rgb(49, 137, 30);
/* oklch */ color: oklch(55.6% 0.163 140.6);
Tailwind
colors: {
  custom: {
    50: '#75ac62',
    500: '#31891e',
    950: '#000000',
  },
}
SCSS
$custom: #31891e;
$custom-light: #75ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#31891e",
  "rgb": {
    "r": 49,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 109.346,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55601,
    "c": 0.16343,
    "h": 140.6
  },
  "luminance": 0.18638
}

Semantic roles & 50–950 ramp

primary
#31891E
secondary
#A649BA
accent
#41E7CA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #31891E

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

Preview Lab → · Contrast checker → · Palette generator →

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