#31891A#31891A

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

Color values

HEX#31891A
RGBrgb(49, 137, 26)
HSLhsl(108, 68%, 32%)
HSVhsv(108, 81%, 54%)
CMYKcmyk(64.2%, 0%, 81%, 46.3%)
CIE-LABlab(50.24, -46.37, 47.59)
CIE-LCHlch(50.24, 66.45, 134.26°)
OKLaboklab(55.58% -0.1272 0.1059)
OKLCHoklch(55.58% 0.166 140.2)
XYZxyz(10.3982, 18.6179, 4.0227)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31891A #721A89
analogous
#68891A #31891A #1A893B
triadic
#31891A #1A3189 #891A31
tetradic
#31891A #1A6889 #721A89 #893B1A
square
#31891A #1A6889 #721A89 #893B1A
split-complementary
#31891A #3B1A89 #891A68
monochromatic
#0C2206 #1F5610 #31891A #43BC24 #62DB42

Accessibility & contrast

On white

4.45
#31891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#31891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31891A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31891A#FFFFFF#000000##000000
##31891A1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#248474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #31891a;
/* rgb */ color: rgb(49, 137, 26);
/* oklch */ color: oklch(55.6% 0.166 140.2);
Tailwind
colors: {
  custom: {
    50: '#75ac60',
    500: '#31891a',
    950: '#000000',
  },
}
SCSS
$custom: #31891a;
$custom-light: #75ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#31891a",
  "rgb": {
    "r": 49,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 107.568,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.16553,
    "h": 140.2
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

primary
#31891A
secondary
#A343BC
accent
#3DEBC7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #31891A

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

Preview Lab → · Contrast checker → · Palette generator →

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