#31983D#31983D

#31983D is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.160 H 145.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#31983D
RGBrgb(49, 152, 61)
HSLhsl(127, 51%, 39%)
HSVhsv(127, 68%, 60%)
CMYKcmyk(67.8%, 0%, 59.9%, 40.4%)
CIE-LABlab(55.53, -48.49, 38.74)
CIE-LCHlch(55.53, 62.07, 141.38°)
OKLaboklab(60.05% -0.1311 0.0915)
OKLCHoklch(60.05% 0.16 145.1)
XYZxyz(13.3363, 23.4450, 8.2365)
Luminance0.2345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31983D #98318C
analogous
#599831 #31983D #319871
triadic
#31983D #3D3198 #983D31
tetradic
#31983D #315998 #98318C #987131
square
#31983D #315998 #98318C #987131
split-complementary
#31983D #713198 #983159
monochromatic
#133B18 #226A2A #31983D #44C352 #72D27D

Accessibility & contrast

On white

3.69
#31983D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#31983D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31983D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31983D#FFFFFF#000000##000000
##31983D1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A34
Deuteranopia (green-blind)
#8E8244
Tritanopia (blue-blind)
#129484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31983d;
/* rgb */ color: rgb(49, 152, 61);
/* oklch */ color: oklch(60.0% 0.160 145.1);
Tailwind
colors: {
  custom: {
    50: '#77b775',
    500: '#31983d',
    950: '#000000',
  },
}
SCSS
$custom: #31983d;
$custom-light: #77b775;
$custom-dark: #000000;
JSON
{
  "hex": "#31983d",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 61
  },
  "hsl": {
    "h": 126.99,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60045,
    "c": 0.15989,
    "h": 145.1
  },
  "luminance": 0.23446
}

Semantic roles & 50–950 ramp

primary
#31983D
secondary
#B96BB0
accent
#4DCADB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #31983D

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

Preview Lab → · Contrast checker → · Palette generator →

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