#31903E#31903E

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

Color values

HEX#31903E
RGBrgb(49, 144, 62)
HSLhsl(128, 49%, 38%)
HSVhsv(128, 66%, 56%)
CMYKcmyk(66%, 0%, 56.9%, 43.5%)
CIE-LABlab(52.89, -45.35, 35.14)
CIE-LCHlch(52.89, 57.38, 142.23°)
OKLaboklab(57.87% -0.1226 0.0838)
OKLCHoklch(57.87% 0.148 145.7)
XYZxyz(12.1086, 20.9461, 7.9614)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31903E #903183
analogous
#539031 #31903E #31906E
triadic
#31903E #3E3190 #903E31
tetradic
#31903E #315390 #903183 #906E31
square
#31903E #315390 #903183 #906E31
split-complementary
#31903E #6E3190 #903153
monochromatic
#123517 #21622A #31903E #41BE52 #6ECE7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31903E#FFFFFF#000000##000000
##31903E1.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)
#928336
Deuteranopia (green-blind)
#867B44
Tritanopia (blue-blind)
#178D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31903e;
/* rgb */ color: rgb(49, 144, 62);
/* oklch */ color: oklch(57.9% 0.148 145.7);
Tailwind
colors: {
  custom: {
    50: '#75b176',
    500: '#31903e',
    950: '#000000',
  },
}
SCSS
$custom: #31903e;
$custom-light: #75b176;
$custom-dark: #000000;
JSON
{
  "hex": "#31903e",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 62
  },
  "hsl": {
    "h": 128.211,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.14848,
    "h": 145.7
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31903E

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

Preview Lab → · Contrast checker → · Palette generator →

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