#31995B#31995B

#31995B is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.8% C 0.133 H 153.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#31995B
RGBrgb(49, 153, 91)
HSLhsl(144, 51%, 40%)
HSVhsv(144, 68%, 60%)
CMYKcmyk(68%, 0%, 40.5%, 40%)
CIE-LABlab(56.28, -44.10, 24.16)
CIE-LCHlch(56.28, 50.28, 151.28°)
OKLaboklab(60.8% -0.1191 0.0601)
OKLCHoklch(60.8% 0.133 153.2)
XYZxyz(14.5449, 24.1892, 13.7980)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31995B #99316F
analogous
#3B9931 #31995B #31998F
triadic
#31995B #5B3199 #995B31
tetradic
#31995B #313B99 #99316F #998F31
square
#31995B #313B99 #99316F #998F31
split-complementary
#31995B #8F3199 #99313B
monochromatic
#133C24 #226B3F #31995B #44C377 #72D299

Accessibility & contrast

On white

3.60
#31995B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#31995B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31995B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31995B#FFFFFF#000000##000000
##31995B1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31995b;
/* rgb */ color: rgb(49, 153, 91);
/* oklch */ color: oklch(60.8% 0.133 153.2);
Tailwind
colors: {
  custom: {
    50: '#76b88a',
    500: '#31995b',
    950: '#000000',
  },
}
SCSS
$custom: #31995b;
$custom-light: #76b88a;
$custom-dark: #000000;
JSON
{
  "hex": "#31995b",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 91
  },
  "hsl": {
    "h": 144.231,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.608,
    "c": 0.13341,
    "h": 153.2
  },
  "luminance": 0.24191
}

Semantic roles & 50–950 ramp

primary
#31995B
secondary
#BA6C9A
accent
#4DA2DB
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #31995B

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

Preview Lab → · Contrast checker → · Palette generator →

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