#31901C#31901C

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

Color values

HEX#31901C
RGBrgb(49, 144, 28)
HSLhsl(109, 67%, 34%)
HSVhsv(109, 81%, 56%)
CMYKcmyk(66%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.60, -48.76, 49.19)
CIE-LCHlch(52.60, 69.26, 134.74°)
OKLaboklab(57.54% -0.1335 0.1096)
OKLCHoklch(57.54% 0.173 140.6)
XYZxyz(11.4489, 20.6822, 4.4871)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31901C #7B1C90
analogous
#6B901C #31901C #1C9041
triadic
#31901C #1C3190 #901C31
tetradic
#31901C #1C6B90 #7B1C90 #90411C
square
#31901C #1C6B90 #7B1C90 #90411C
split-complementary
#31901C #411C90 #901C6B
monochromatic
#0E2A08 #205D12 #31901C #42C326 #65DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31901C#FFFFFF#000000##000000
##31901C1.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)
#7D7D7D

Design tokens & code

CSS
--color: #31901c;
/* rgb */ color: rgb(49, 144, 28);
/* oklch */ color: oklch(57.5% 0.173 140.6);
Tailwind
colors: {
  custom: {
    50: '#77b162',
    500: '#31901c',
    950: '#000000',
  },
}
SCSS
$custom: #31901c;
$custom-light: #77b162;
$custom-dark: #000000;
JSON
{
  "hex": "#31901c",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 109.138,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.17273,
    "h": 140.6
  },
  "luminance": 0.20683
}

Semantic roles & 50–950 ramp

primary
#31901C
secondary
#A94ABE
accent
#3DEACB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31901C

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

Preview Lab → · Contrast checker → · Palette generator →

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