#31901F#31901F

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

Color values

HEX#31901F
RGBrgb(49, 144, 31)
HSLhsl(110, 65%, 34%)
HSVhsv(110, 78%, 56%)
CMYKcmyk(66%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.62, -48.56, 48.22)
CIE-LCHlch(52.62, 68.43, 135.20°)
OKLaboklab(57.56% -0.1328 0.108)
OKLCHoklch(57.56% 0.171 140.9)
XYZxyz(11.4866, 20.6973, 4.6857)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31901F #7E1F90
analogous
#6A901F #31901F #1F9045
triadic
#31901F #1F3190 #901F31
tetradic
#31901F #1F6A90 #7E1F90 #90451F
square
#31901F #1F6A90 #7E1F90 #90451F
split-complementary
#31901F #451F90 #901F6A
monochromatic
#0F2B09 #205E14 #31901F #42C22A #66D950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31901F#FFFFFF#000000##000000
##31901F1.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)
#948203
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#208B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31901f;
/* rgb */ color: rgb(49, 144, 31);
/* oklch */ color: oklch(57.6% 0.171 140.9);
Tailwind
colors: {
  custom: {
    50: '#77b164',
    500: '#31901f',
    950: '#000000',
  },
}
SCSS
$custom: #31901f;
$custom-light: #77b164;
$custom-dark: #000000;
JSON
{
  "hex": "#31901f",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 110.442,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.17118,
    "h": 140.9
  },
  "luminance": 0.20698
}

Semantic roles & 50–950 ramp

primary
#31901F
secondary
#AB4EBC
accent
#40E8CD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31901F

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

Preview Lab → · Contrast checker → · Palette generator →

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