#31901D#31901D

#31901D is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.172 H 140.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#31901D
RGBrgb(49, 144, 29)
HSLhsl(110, 66%, 34%)
HSVhsv(110, 80%, 56%)
CMYKcmyk(66%, 0%, 79.9%, 43.5%)
CIE-LABlab(52.61, -48.69, 48.88)
CIE-LCHlch(52.61, 68.99, 134.89°)
OKLaboklab(57.54% -0.1333 0.1091)
OKLCHoklch(57.54% 0.172 140.7)
XYZxyz(11.4611, 20.6871, 4.5512)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31901D #7C1D90
analogous
#6B901D #31901D #1D9043
triadic
#31901D #1D3190 #901D31
tetradic
#31901D #1D6B90 #7C1D90 #90431D
square
#31901D #1D6B90 #7C1D90 #90431D
split-complementary
#31901D #431D90 #901D6B
monochromatic
#0E2A08 #205D13 #31901D #42C327 #65DB4C

Accessibility & contrast

On white

4.09
#31901D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#31901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31901D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31901D#FFFFFF#000000##000000
##31901D1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#218B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31901d;
/* rgb */ color: rgb(49, 144, 29);
/* oklch */ color: oklch(57.5% 0.172 140.7);
Tailwind
colors: {
  custom: {
    50: '#77b163',
    500: '#31901d',
    950: '#000000',
  },
}
SCSS
$custom: #31901d;
$custom-light: #77b163;
$custom-dark: #000000;
JSON
{
  "hex": "#31901d",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 109.565,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57542,
    "c": 0.17223,
    "h": 140.7
  },
  "luminance": 0.20688
}

Semantic roles & 50–950 ramp

primary
#31901D
secondary
#AA4BBD
accent
#3EE9CC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31901D

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

Preview Lab → · Contrast checker → · Palette generator →

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