#31891D#31891D

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

Color values

HEX#31891D
RGBrgb(49, 137, 29)
HSLhsl(109, 65%, 33%)
HSVhsv(109, 79%, 54%)
CMYKcmyk(64.2%, 0%, 78.8%, 46.3%)
CIE-LABlab(50.25, -46.17, 46.61)
CIE-LCHlch(50.25, 65.61, 134.73°)
OKLaboklab(55.59% -0.1265 0.1043)
OKLCHoklch(55.59% 0.164 140.5)
XYZxyz(10.4336, 18.6320, 4.2087)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31891D #751D89
analogous
#67891D #31891D #1D893F
triadic
#31891D #1D3189 #891D31
tetradic
#31891D #1D6789 #751D89 #893F1D
square
#31891D #1D6789 #751D89 #893F1D
split-complementary
#31891D #3F1D89 #891D67
monochromatic
#0D2408 #1F5612 #31891D #43BC28 #63D848

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31891D#FFFFFF#000000##000000
##31891D1.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)
#8D7C03
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#238475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #31891d;
/* rgb */ color: rgb(49, 137, 29);
/* oklch */ color: oklch(55.6% 0.164 140.5);
Tailwind
colors: {
  custom: {
    50: '#75ac62',
    500: '#31891d',
    950: '#000000',
  },
}
SCSS
$custom: #31891d;
$custom-light: #75ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#31891d",
  "rgb": {
    "r": 49,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 108.889,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.16397,
    "h": 140.5
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#31891D
secondary
#A547BA
accent
#40E8C9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #31891D

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

Preview Lab → · Contrast checker → · Palette generator →

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