#31891C#31891C

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

Color values

HEX#31891C
RGBrgb(49, 137, 28)
HSLhsl(108, 66%, 32%)
HSVhsv(108, 80%, 54%)
CMYKcmyk(64.2%, 0%, 79.6%, 46.3%)
CIE-LABlab(50.25, -46.24, 46.94)
CIE-LCHlch(50.25, 65.89, 134.57°)
OKLaboklab(55.59% -0.1267 0.1049)
OKLCHoklch(55.59% 0.165 140.4)
XYZxyz(10.4214, 18.6271, 4.1446)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31891C #741C89
analogous
#68891C #31891C #1C893D
triadic
#31891C #1C3189 #891C31
tetradic
#31891C #1C6889 #741C89 #893D1C
square
#31891C #1C6889 #741C89 #893D1C
split-complementary
#31891C #3D1C89 #891C68
monochromatic
#0D2307 #1F5612 #31891C #43BC26 #63D946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31891C#FFFFFF#000000##000000
##31891C1.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)
#8D7C00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#248475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #31891c;
/* rgb */ color: rgb(49, 137, 28);
/* oklch */ color: oklch(55.6% 0.165 140.4);
Tailwind
colors: {
  custom: {
    50: '#75ac61',
    500: '#31891c',
    950: '#000000',
  },
}
SCSS
$custom: #31891c;
$custom-light: #75ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#31891c",
  "rgb": {
    "r": 49,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 108.44,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.16451,
    "h": 140.4
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#31891C
secondary
#A446BB
accent
#3FE9C8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #31891C

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

Preview Lab → · Contrast checker → · Palette generator →

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