#31801D#31801D

#31801D is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.153 H 140.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#31801D
RGBrgb(49, 128, 29)
HSLhsl(108, 63%, 31%)
HSVhsv(108, 77%, 50%)
CMYKcmyk(61.7%, 0%, 77.3%, 49.8%)
CIE-LABlab(47.21, -42.82, 43.62)
CIE-LCHlch(47.21, 61.13, 134.47°)
OKLaboklab(53.08% -0.1175 0.0981)
OKLCHoklch(53.08% 0.153 140.1)
XYZxyz(9.2071, 16.1792, 3.7999)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31801D #6C1D80
analogous
#62801D #31801D #1D803A
triadic
#31801D #1D3180 #801D31
tetradic
#31801D #1D6280 #6C1D80 #803A1D
square
#31801D #1D6280 #6C1D80 #803A1D
split-complementary
#31801D #3A1D80 #801D62
monochromatic
#0B1C06 #1E4E12 #31801D #44B228 #60D443

Accessibility & contrast

On white

4.96
#31801D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#31801D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31801D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31801D#FFFFFF#000000##FFFFFF
##31801D1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847408
Deuteranopia (green-blind)
#7A6D28
Tritanopia (blue-blind)
#267C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #31801d;
/* rgb */ color: rgb(49, 128, 29);
/* oklch */ color: oklch(53.1% 0.153 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a661',
    500: '#31801d',
    950: '#000000',
  },
}
SCSS
$custom: #31801d;
$custom-light: #73a661;
$custom-dark: #000000;
JSON
{
  "hex": "#31801d",
  "rgb": {
    "r": 49,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 107.879,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.15304,
    "h": 140.1
  },
  "luminance": 0.1618
}

Semantic roles & 50–950 ramp

primary
#31801D
secondary
#9D45B3
accent
#42E6C5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #31801D

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

Preview Lab → · Contrast checker → · Palette generator →

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