#31801F#31801F

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

Color values

HEX#31801F
RGBrgb(49, 128, 31)
HSLhsl(109, 61%, 31%)
HSVhsv(109, 76%, 50%)
CMYKcmyk(61.7%, 0%, 75.8%, 49.8%)
CIE-LABlab(47.22, -42.66, 42.88)
CIE-LCHlch(47.22, 60.49, 134.85°)
OKLaboklab(53.09% -0.1169 0.0968)
OKLCHoklch(53.09% 0.152 140.4)
XYZxyz(9.2327, 16.1894, 3.9344)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31801F #6E1F80
analogous
#61801F #31801F #1F803D
triadic
#31801F #1F3180 #801F31
tetradic
#31801F #1F6180 #6E1F80 #803D1F
square
#31801F #1F6180 #6E1F80 #803D1F
split-complementary
#31801F #3D1F80 #801F61
monochromatic
#0B1D07 #1E4F13 #31801F #44B12B #61D247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31801F#FFFFFF#000000##FFFFFF
##31801F1.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)
#84740D
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#267C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #31801f;
/* rgb */ color: rgb(49, 128, 31);
/* oklch */ color: oklch(53.1% 0.152 140.4);
Tailwind
colors: {
  custom: {
    50: '#73a662',
    500: '#31801f',
    950: '#000000',
  },
}
SCSS
$custom: #31801f;
$custom-light: #73a662;
$custom-dark: #000000;
JSON
{
  "hex": "#31801f",
  "rgb": {
    "r": 49,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 108.866,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.15183,
    "h": 140.4
  },
  "luminance": 0.1619
}

Semantic roles & 50–950 ramp

primary
#31801F
secondary
#9F48B3
accent
#44E4C6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #31801F

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

Preview Lab → · Contrast checker → · Palette generator →

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