#31903D#31903D

#31903D is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.149 H 145.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#31903D
RGBrgb(49, 144, 61)
HSLhsl(128, 49%, 38%)
HSVhsv(128, 66%, 56%)
CMYKcmyk(66%, 0%, 57.6%, 43.5%)
CIE-LABlab(52.88, -45.49, 35.63)
CIE-LCHlch(52.88, 57.78, 141.93°)
OKLaboklab(57.86% -0.123 0.0847)
OKLCHoklch(57.86% 0.149 145.4)
XYZxyz(12.0814, 20.9352, 7.8182)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31903D #903184
analogous
#549031 #31903D #31906C
triadic
#31903D #3D3190 #903D31
tetradic
#31903D #315490 #903184 #906C31
square
#31903D #315490 #903184 #906C31
split-complementary
#31903D #6C3190 #903154
monochromatic
#123516 #21622A #31903D #41BE50 #6ECE7A

Accessibility & contrast

On white

4.05
#31903D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#31903D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31903D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31903D#FFFFFF#000000##000000
##31903D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928335
Deuteranopia (green-blind)
#877B43
Tritanopia (blue-blind)
#178C7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31903d;
/* rgb */ color: rgb(49, 144, 61);
/* oklch */ color: oklch(57.9% 0.149 145.4);
Tailwind
colors: {
  custom: {
    50: '#75b175',
    500: '#31903d',
    950: '#000000',
  },
}
SCSS
$custom: #31903d;
$custom-light: #75b175;
$custom-dark: #000000;
JSON
{
  "hex": "#31903d",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 61
  },
  "hsl": {
    "h": 127.579,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.14938,
    "h": 145.4
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#31903D
secondary
#B568AB
accent
#4FC7D9
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #31903D

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

Preview Lab → · Contrast checker → · Palette generator →

#31903D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva