#31901E#31901E

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

Color values

HEX#31901E
RGBrgb(49, 144, 30)
HSLhsl(110, 66%, 34%)
HSVhsv(110, 79%, 56%)
CMYKcmyk(66%, 0%, 79.2%, 43.5%)
CIE-LABlab(52.61, -48.63, 48.55)
CIE-LCHlch(52.61, 68.71, 135.04°)
OKLaboklab(57.55% -0.1331 0.1085)
OKLCHoklch(57.55% 0.172 140.8)
XYZxyz(11.4737, 20.6921, 4.6174)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31901E #7D1E90
analogous
#6A901E #31901E #1E9044
triadic
#31901E #1E3190 #901E31
tetradic
#31901E #1E6A90 #7D1E90 #90441E
square
#31901E #1E6A90 #7D1E90 #90441E
split-complementary
#31901E #441E90 #901E6A
monochromatic
#0F2B09 #205D13 #31901E #42C329 #66DA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31901E#FFFFFF#000000##000000
##31901E1.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)
#897B2B
Tritanopia (blue-blind)
#218B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31901e;
/* rgb */ color: rgb(49, 144, 30);
/* oklch */ color: oklch(57.5% 0.172 140.8);
Tailwind
colors: {
  custom: {
    50: '#77b163',
    500: '#31901e',
    950: '#000000',
  },
}
SCSS
$custom: #31901e;
$custom-light: #77b163;
$custom-dark: #000000;
JSON
{
  "hex": "#31901e",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 110,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57548,
    "c": 0.17171,
    "h": 140.8
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#31901E
secondary
#AA4DBD
accent
#3FE8CC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31901E

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

Preview Lab → · Contrast checker → · Palette generator →

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