#31985E#31985E

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

Color values

HEX#31985E
RGBrgb(49, 152, 94)
HSLhsl(146, 51%, 39%)
HSVhsv(146, 68%, 60%)
CMYKcmyk(67.8%, 0%, 38.2%, 40.4%)
CIE-LABlab(56.00, -43.11, 22.15)
CIE-LCHlch(56.00, 48.47, 152.80°)
OKLaboklab(60.59% -0.1166 0.0554)
OKLCHoklch(60.59% 0.129 154.6)
XYZxyz(14.5140, 23.9160, 14.4389)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31985E #98316B
analogous
#379831 #31985E #319892
triadic
#31985E #5E3198 #985E31
tetradic
#31985E #313798 #98316B #989231
square
#31985E #313798 #98316B #989231
split-complementary
#31985E #923198 #983137
monochromatic
#133B25 #226A41 #31985E #44C37B #72D29C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31985E#FFFFFF#000000##000000
##31985E1.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)
#988C5A
Deuteranopia (green-blind)
#8A8262
Tritanopia (blue-blind)
#009689
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31985e;
/* rgb */ color: rgb(49, 152, 94);
/* oklch */ color: oklch(60.6% 0.129 154.6);
Tailwind
colors: {
  custom: {
    50: '#76b78c',
    500: '#31985e',
    950: '#000000',
  },
}
SCSS
$custom: #31985e;
$custom-light: #76b78c;
$custom-dark: #000000;
JSON
{
  "hex": "#31985e",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 146.214,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60592,
    "c": 0.12911,
    "h": 154.6
  },
  "luminance": 0.23918
}

Semantic roles & 50–950 ramp

primary
#31985E
secondary
#B96B97
accent
#4D9DDB
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #31985E

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

Preview Lab → · Contrast checker → · Palette generator →

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