#31811E#31811E

#31811E is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.154 H 140.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#31811E
RGBrgb(49, 129, 30)
HSLhsl(108, 62%, 31%)
HSVhsv(108, 77%, 51%)
CMYKcmyk(62%, 0%, 76.7%, 49.4%)
CIE-LABlab(47.55, -43.12, 43.60)
CIE-LCHlch(47.55, 61.32, 134.69°)
OKLaboklab(53.36% -0.1182 0.0982)
OKLCHoklch(53.36% 0.154 140.3)
XYZxyz(9.3508, 16.4464, 3.9097)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31811E #6E1E81
analogous
#62811E #31811E #1E813C
triadic
#31811E #1E3181 #811E31
tetradic
#31811E #1E6281 #6E1E81 #813C1E
square
#31811E #1E6281 #6E1E81 #813C1E
split-complementary
#31811E #3C1E81 #811E62
monochromatic
#0B1E07 #1E4F12 #31811E #44B32A #61D446

Accessibility & contrast

On white

4.90
#31811E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#31811E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31811E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31811E#FFFFFF#000000##FFFFFF
##31811E1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#267D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #31811e;
/* rgb */ color: rgb(49, 129, 30);
/* oklch */ color: oklch(53.4% 0.154 140.3);
Tailwind
colors: {
  custom: {
    50: '#74a661',
    500: '#31811e',
    950: '#000000',
  },
}
SCSS
$custom: #31811e;
$custom-light: #74a661;
$custom-dark: #000000;
JSON
{
  "hex": "#31811e",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 108.485,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.15368,
    "h": 140.3
  },
  "luminance": 0.16447
}

Semantic roles & 50–950 ramp

primary
#31811E
secondary
#9F47B4
accent
#42E5C6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #31811E

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

Preview Lab → · Contrast checker → · Palette generator →

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