#31995A#31995A

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

Color values

HEX#31995A
RGBrgb(49, 153, 90)
HSLhsl(144, 51%, 40%)
HSVhsv(144, 68%, 60%)
CMYKcmyk(68%, 0%, 41.2%, 40%)
CIE-LABlab(56.26, -44.29, 24.68)
CIE-LCHlch(56.26, 50.70, 150.87°)
OKLaboklab(60.78% -0.1196 0.0613)
OKLCHoklch(60.78% 0.134 152.8)
XYZxyz(14.5021, 24.1721, 13.5723)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31995A #993170
analogous
#3C9931 #31995A #31998E
triadic
#31995A #5A3199 #995A31
tetradic
#31995A #313C99 #993170 #998E31
square
#31995A #313C99 #993170 #998E31
split-complementary
#31995A #8E3199 #99313C
monochromatic
#133C23 #226B3F #31995A #44C376 #72D298

Accessibility & contrast

On white

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

On black

5.83
#31995A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31995A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31995A#FFFFFF#000000##000000
##31995A1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998C56
Deuteranopia (green-blind)
#8C835E
Tritanopia (blue-blind)
#009789
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31995a;
/* rgb */ color: rgb(49, 153, 90);
/* oklch */ color: oklch(60.8% 0.134 152.8);
Tailwind
colors: {
  custom: {
    50: '#76b889',
    500: '#31995a',
    950: '#000000',
  },
}
SCSS
$custom: #31995a;
$custom-light: #76b889;
$custom-dark: #000000;
JSON
{
  "hex": "#31995a",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 90
  },
  "hsl": {
    "h": 143.654,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.13438,
    "h": 152.8
  },
  "luminance": 0.24174
}

Semantic roles & 50–950 ramp

primary
#31995A
secondary
#BA6C9B
accent
#4DA3DB
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #31995A

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

Preview Lab → · Contrast checker → · Palette generator →

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