#31903F#31903F

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

Color values

HEX#31903F
RGBrgb(49, 144, 63)
HSLhsl(129, 49%, 38%)
HSVhsv(129, 66%, 56%)
CMYKcmyk(66%, 0%, 56.3%, 43.5%)
CIE-LABlab(52.90, -45.21, 34.66)
CIE-LCHlch(52.90, 56.97, 142.53°)
OKLaboklab(57.88% -0.1222 0.0828)
OKLCHoklch(57.88% 0.148 145.9)
XYZxyz(12.1363, 20.9571, 8.1072)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31903F #903182
analogous
#529031 #31903F #31906E
triadic
#31903F #3F3190 #903F31
tetradic
#31903F #315290 #903182 #906E31
square
#31903F #315290 #903182 #906E31
split-complementary
#31903F #6E3190 #903152
monochromatic
#123517 #21622B #31903F #41BE53 #6ECE7C

Accessibility & contrast

On white

4.04
#31903F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31903F#FFFFFF#000000##000000
##31903F1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928337
Deuteranopia (green-blind)
#867B45
Tritanopia (blue-blind)
#168D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31903f;
/* rgb */ color: rgb(49, 144, 63);
/* oklch */ color: oklch(57.9% 0.148 145.9);
Tailwind
colors: {
  custom: {
    50: '#75b176',
    500: '#31903f',
    950: '#000000',
  },
}
SCSS
$custom: #31903f;
$custom-light: #75b176;
$custom-dark: #000000;
JSON
{
  "hex": "#31903f",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 63
  },
  "hsl": {
    "h": 128.842,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57883,
    "c": 0.14759,
    "h": 145.9
  },
  "luminance": 0.20958
}

Semantic roles & 50–950 ramp

primary
#31903F
secondary
#B568AA
accent
#4FC4D9
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #31903F

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

Preview Lab → · Contrast checker → · Palette generator →

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