#31983C#31983C

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

Color values

HEX#31983C
RGBrgb(49, 152, 60)
HSLhsl(126, 51%, 39%)
HSVhsv(126, 68%, 60%)
CMYKcmyk(67.8%, 0%, 60.5%, 40.4%)
CIE-LABlab(55.52, -48.62, 39.20)
CIE-LCHlch(55.52, 62.46, 141.12°)
OKLaboklab(60.03% -0.1315 0.0924)
OKLCHoklch(60.03% 0.161 144.9)
XYZxyz(13.3096, 23.4343, 8.0959)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31983C #98318D
analogous
#5A9831 #31983C #319870
triadic
#31983C #3C3198 #983C31
tetradic
#31983C #315A98 #98318D #987031
square
#31983C #315A98 #98318D #987031
split-complementary
#31983C #703198 #98315A
monochromatic
#133B17 #226A2A #31983C #44C351 #72D27C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31983C#FFFFFF#000000##000000
##31983C1.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)
#9B8A32
Deuteranopia (green-blind)
#8E8243
Tritanopia (blue-blind)
#139484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31983c;
/* rgb */ color: rgb(49, 152, 60);
/* oklch */ color: oklch(60.0% 0.161 144.9);
Tailwind
colors: {
  custom: {
    50: '#77b775',
    500: '#31983c',
    950: '#000000',
  },
}
SCSS
$custom: #31983c;
$custom-light: #77b775;
$custom-dark: #000000;
JSON
{
  "hex": "#31983c",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 60
  },
  "hsl": {
    "h": 126.408,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60032,
    "c": 0.16073,
    "h": 144.9
  },
  "luminance": 0.23436
}

Semantic roles & 50–950 ramp

primary
#31983C
secondary
#B96BB1
accent
#4DCCDB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #31983C

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

Preview Lab → · Contrast checker → · Palette generator →

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