#31901B#31901B

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

Color values

HEX#31901B
RGBrgb(49, 144, 27)
HSLhsl(109, 68%, 34%)
HSVhsv(109, 81%, 56%)
CMYKcmyk(66%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.59, -48.82, 49.50)
CIE-LCHlch(52.59, 69.53, 134.60°)
OKLaboklab(57.53% -0.1337 0.1101)
OKLCHoklch(57.53% 0.173 140.5)
XYZxyz(11.4371, 20.6775, 4.4251)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31901B #7A1B90
analogous
#6B901B #31901B #1B903F
triadic
#31901B #1B3190 #901B31
tetradic
#31901B #1B6B90 #7A1B90 #903F1B
square
#31901B #1B6B90 #7A1B90 #903F1B
split-complementary
#31901B #3F1B90 #901B6B
monochromatic
#0E2908 #1F5C11 #31901B #43C425 #64DD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31901B#FFFFFF#000000##000000
##31901B1.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)
#897B29
Tritanopia (blue-blind)
#218B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #31901b;
/* rgb */ color: rgb(49, 144, 27);
/* oklch */ color: oklch(57.5% 0.173 140.5);
Tailwind
colors: {
  custom: {
    50: '#77b162',
    500: '#31901b',
    950: '#000000',
  },
}
SCSS
$custom: #31901b;
$custom-light: #77b162;
$custom-dark: #000000;
JSON
{
  "hex": "#31901b",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 108.718,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.17322,
    "h": 140.5
  },
  "luminance": 0.20679
}

Semantic roles & 50–950 ramp

primary
#31901B
secondary
#A848BF
accent
#3DEBCA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31901B

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

Preview Lab → · Contrast checker → · Palette generator →

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