#31995E#31995E

#31995E is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.9% C 0.131 H 154.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#31995E
RGBrgb(49, 153, 94)
HSLhsl(146, 51%, 40%)
HSVhsv(146, 68%, 60%)
CMYKcmyk(68%, 0%, 38.6%, 40%)
CIE-LABlab(56.33, -43.52, 22.59)
CIE-LCHlch(56.33, 49.03, 152.57°)
OKLaboklab(60.86% -0.1177 0.0565)
OKLCHoklch(60.86% 0.131 154.4)
XYZxyz(14.6769, 24.2420, 14.4932)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31995E #99316C
analogous
#389931 #31995E #319992
triadic
#31995E #5E3199 #995E31
tetradic
#31995E #313899 #99316C #999231
square
#31995E #313899 #99316C #999231
split-complementary
#31995E #923199 #993138
monochromatic
#133C25 #226B42 #31995E #44C37B #72D29C

Accessibility & contrast

On white

3.59
#31995E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#31995E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31995E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31995E#FFFFFF#000000##000000
##31995E1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D5A
Deuteranopia (green-blind)
#8B8362
Tritanopia (blue-blind)
#00978A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31995e;
/* rgb */ color: rgb(49, 153, 94);
/* oklch */ color: oklch(60.9% 0.131 154.4);
Tailwind
colors: {
  custom: {
    50: '#76b88c',
    500: '#31995e',
    950: '#000000',
  },
}
SCSS
$custom: #31995e;
$custom-light: #76b88c;
$custom-dark: #000000;
JSON
{
  "hex": "#31995e",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 94
  },
  "hsl": {
    "h": 145.962,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.13051,
    "h": 154.4
  },
  "luminance": 0.24244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31995E

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

Preview Lab → · Contrast checker → · Palette generator →

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