#31983F#31983F

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

Color values

HEX#31983F
RGBrgb(49, 152, 63)
HSLhsl(128, 51%, 39%)
HSVhsv(128, 68%, 60%)
CMYKcmyk(67.8%, 0%, 58.6%, 40.4%)
CIE-LABlab(55.55, -48.23, 37.80)
CIE-LCHlch(55.55, 61.28, 141.91°)
OKLaboklab(60.07% -0.1303 0.0896)
OKLCHoklch(60.07% 0.158 145.5)
XYZxyz(13.3912, 23.4669, 8.5255)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31983F #98318A
analogous
#579831 #31983F #319873
triadic
#31983F #3F3198 #983F31
tetradic
#31983F #315798 #98318A #987331
square
#31983F #315798 #98318A #987331
split-complementary
#31983F #733198 #983157
monochromatic
#133B19 #226A2C #31983F #44C355 #72D27F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31983F#FFFFFF#000000##000000
##31983F1.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)
#9A8A36
Deuteranopia (green-blind)
#8E8246
Tritanopia (blue-blind)
#119484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31983f;
/* rgb */ color: rgb(49, 152, 63);
/* oklch */ color: oklch(60.1% 0.158 145.5);
Tailwind
colors: {
  custom: {
    50: '#77b777',
    500: '#31983f',
    950: '#000000',
  },
}
SCSS
$custom: #31983f;
$custom-light: #77b777;
$custom-dark: #000000;
JSON
{
  "hex": "#31983f",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 63
  },
  "hsl": {
    "h": 128.155,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.15819,
    "h": 145.5
  },
  "luminance": 0.23468
}

Semantic roles & 50–950 ramp

primary
#31983F
secondary
#B96BAF
accent
#4DC7DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #31983F

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

Preview Lab → · Contrast checker → · Palette generator →

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