#31901A#31901A

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

Color values

HEX#31901A
RGBrgb(49, 144, 26)
HSLhsl(108, 69%, 33%)
HSVhsv(108, 82%, 56%)
CMYKcmyk(66%, 0%, 81.9%, 43.5%)
CIE-LABlab(52.59, -48.88, 49.81)
CIE-LCHlch(52.59, 69.78, 134.46°)
OKLaboklab(57.52% -0.134 0.1106)
OKLCHoklch(57.52% 0.174 140.5)
XYZxyz(11.4258, 20.6729, 4.3652)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31901A #791A90
analogous
#6C901A #31901A #1A903E
triadic
#31901A #1A3190 #901A31
tetradic
#31901A #1A6C90 #791A90 #903E1A
square
#31901A #1A6C90 #791A90 #903E1A
split-complementary
#31901A #3E1A90 #901A6C
monochromatic
#0E2807 #1F5C11 #31901A #43C423 #64DE47

Accessibility & contrast

On white

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

On black

5.13
#31901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31901A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31901A#FFFFFF#000000##000000
##31901A1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#218B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #31901a;
/* rgb */ color: rgb(49, 144, 26);
/* oklch */ color: oklch(57.5% 0.174 140.5);
Tailwind
colors: {
  custom: {
    50: '#77b161',
    500: '#31901a',
    950: '#000000',
  },
}
SCSS
$custom: #31901a;
$custom-light: #77b161;
$custom-dark: #000000;
JSON
{
  "hex": "#31901a",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 108.305,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57524,
    "c": 0.17369,
    "h": 140.5
  },
  "luminance": 0.20674
}

Semantic roles & 50–950 ramp

primary
#31901A
secondary
#A847BF
accent
#3CECCA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #31901A

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

Preview Lab → · Contrast checker → · Palette generator →

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