#31983A#31983A

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

Color values

HEX#31983A
RGBrgb(49, 152, 58)
HSLhsl(125, 51%, 39%)
HSVhsv(125, 68%, 60%)
CMYKcmyk(67.8%, 0%, 61.8%, 40.4%)
CIE-LABlab(55.50, -48.86, 40.12)
CIE-LCHlch(55.50, 63.23, 140.61°)
OKLaboklab(60.01% -0.1323 0.0942)
OKLCHoklch(60.01% 0.162 144.5)
XYZxyz(13.2577, 23.4135, 7.8227)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31983A #98318F
analogous
#5C9831 #31983A #31986E
triadic
#31983A #3A3198 #983A31
tetradic
#31983A #315C98 #98318F #986E31
square
#31983A #315C98 #98318F #986E31
split-complementary
#31983A #6E3198 #98315C
monochromatic
#133B17 #226A28 #31983A #44C34F #72D27A

Accessibility & contrast

On white

3.70
#31983A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#31983A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31983A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31983A#FFFFFF#000000##000000
##31983A1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A30
Deuteranopia (green-blind)
#8E8242
Tritanopia (blue-blind)
#149484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31983a;
/* rgb */ color: rgb(49, 152, 58);
/* oklch */ color: oklch(60.0% 0.162 144.5);
Tailwind
colors: {
  custom: {
    50: '#77b774',
    500: '#31983a',
    950: '#000000',
  },
}
SCSS
$custom: #31983a;
$custom-light: #77b774;
$custom-dark: #000000;
JSON
{
  "hex": "#31983a",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 58
  },
  "hsl": {
    "h": 125.243,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60008,
    "c": 0.16239,
    "h": 144.5
  },
  "luminance": 0.23415
}

Semantic roles & 50–950 ramp

primary
#31983A
secondary
#B96BB3
accent
#4DCEDB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #31983A

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

Preview Lab → · Contrast checker → · Palette generator →

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