#31983B#31983B

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

Color values

HEX#31983B
RGBrgb(49, 152, 59)
HSLhsl(126, 51%, 39%)
HSVhsv(126, 68%, 60%)
CMYKcmyk(67.8%, 0%, 61.2%, 40.4%)
CIE-LABlab(55.51, -48.74, 39.67)
CIE-LCHlch(55.51, 62.84, 140.86°)
OKLaboklab(60.02% -0.1319 0.0933)
OKLCHoklch(60.02% 0.162 144.7)
XYZxyz(13.2834, 23.4238, 7.9580)
Luminance0.2343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31983B #98318E
analogous
#5B9831 #31983B #31986F
triadic
#31983B #3B3198 #983B31
tetradic
#31983B #315B98 #98318E #986F31
square
#31983B #315B98 #98318E #986F31
split-complementary
#31983B #6F3198 #98315B
monochromatic
#133B17 #226A29 #31983B #44C350 #72D27B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #31983b;
/* rgb */ color: rgb(49, 152, 59);
/* oklch */ color: oklch(60.0% 0.162 144.7);
Tailwind
colors: {
  custom: {
    50: '#77b774',
    500: '#31983b',
    950: '#000000',
  },
}
SCSS
$custom: #31983b;
$custom-light: #77b774;
$custom-dark: #000000;
JSON
{
  "hex": "#31983b",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 59
  },
  "hsl": {
    "h": 125.825,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.16157,
    "h": 144.7
  },
  "luminance": 0.23425
}

Semantic roles & 50–950 ramp

primary
#31983B
secondary
#B96BB2
accent
#4DCDDB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #31983B

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

Preview Lab → · Contrast checker → · Palette generator →

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