#31983E#31983E

#31983E is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.1% C 0.159 H 145.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#31983E
RGBrgb(49, 152, 62)
HSLhsl(128, 51%, 39%)
HSVhsv(128, 68%, 60%)
CMYKcmyk(67.8%, 0%, 59.2%, 40.4%)
CIE-LABlab(55.54, -48.36, 38.27)
CIE-LCHlch(55.54, 61.67, 141.64°)
OKLaboklab(60.06% -0.1307 0.0906)
OKLCHoklch(60.06% 0.159 145.3)
XYZxyz(13.3635, 23.4558, 8.3797)
Luminance0.2346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31983E #98318B
analogous
#589831 #31983E #319872
triadic
#31983E #3E3198 #983E31
tetradic
#31983E #315898 #98318B #987231
square
#31983E #315898 #98318B #987231
split-complementary
#31983E #723198 #983158
monochromatic
#133B18 #226A2B #31983E #44C354 #72D27E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31983E#FFFFFF#000000##000000
##31983E1.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)
#9A8A35
Deuteranopia (green-blind)
#8E8245
Tritanopia (blue-blind)
#129484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31983e;
/* rgb */ color: rgb(49, 152, 62);
/* oklch */ color: oklch(60.1% 0.159 145.3);
Tailwind
colors: {
  custom: {
    50: '#77b776',
    500: '#31983e',
    950: '#000000',
  },
}
SCSS
$custom: #31983e;
$custom-light: #77b776;
$custom-dark: #000000;
JSON
{
  "hex": "#31983e",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 62
  },
  "hsl": {
    "h": 127.573,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.15904,
    "h": 145.3
  },
  "luminance": 0.23457
}

Semantic roles & 50–950 ramp

primary
#31983E
secondary
#B96BB0
accent
#4DC9DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #31983E

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

Preview Lab → · Contrast checker → · Palette generator →

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