#31985D#31985D

#31985D is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.6% C 0.130 H 154.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#31985D
RGBrgb(49, 152, 93)
HSLhsl(146, 51%, 39%)
HSVhsv(146, 68%, 60%)
CMYKcmyk(67.8%, 0%, 38.8%, 40.4%)
CIE-LABlab(55.99, -43.31, 22.68)
CIE-LCHlch(55.99, 48.89, 152.36°)
OKLaboklab(60.57% -0.1171 0.0567)
OKLCHoklch(60.57% 0.13 154.2)
XYZxyz(14.4694, 23.8982, 14.2041)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31985D #98316C
analogous
#399831 #31985D #319891
triadic
#31985D #5D3198 #985D31
tetradic
#31985D #313998 #98316C #989131
square
#31985D #313998 #98316C #989131
split-complementary
#31985D #913198 #983139
monochromatic
#133B24 #226A41 #31985D #44C37A #72D29B

Accessibility & contrast

On white

3.63
#31985D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#31985D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31985D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31985D#FFFFFF#000000##000000
##31985D1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C59
Deuteranopia (green-blind)
#8B8261
Tritanopia (blue-blind)
#009689
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31985d;
/* rgb */ color: rgb(49, 152, 93);
/* oklch */ color: oklch(60.6% 0.130 154.2);
Tailwind
colors: {
  custom: {
    50: '#76b78b',
    500: '#31985d',
    950: '#000000',
  },
}
SCSS
$custom: #31985d;
$custom-light: #76b78b;
$custom-dark: #000000;
JSON
{
  "hex": "#31985d",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 145.631,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60572,
    "c": 0.13007,
    "h": 154.2
  },
  "luminance": 0.239
}

Semantic roles & 50–950 ramp

primary
#31985D
secondary
#B96B98
accent
#4D9EDB
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #31985D

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

Preview Lab → · Contrast checker → · Palette generator →

#31985D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva