#31995D#31995D

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

Color values

HEX#31995D
RGBrgb(49, 153, 93)
HSLhsl(145, 51%, 40%)
HSVhsv(145, 68%, 60%)
CMYKcmyk(68%, 0%, 39.2%, 40%)
CIE-LABlab(56.31, -43.71, 23.11)
CIE-LCHlch(56.31, 49.45, 152.13°)
OKLaboklab(60.84% -0.1181 0.0577)
OKLCHoklch(60.84% 0.131 154)
XYZxyz(14.6324, 24.2242, 14.2584)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31995D #99316D
analogous
#399931 #31995D #319991
triadic
#31995D #5D3199 #995D31
tetradic
#31995D #313999 #99316D #999131
square
#31995D #313999 #99316D #999131
split-complementary
#31995D #913199 #993139
monochromatic
#133C25 #226B41 #31995D #44C37A #72D29B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31995D#FFFFFF#000000##000000
##31995D1.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)
#998D59
Deuteranopia (green-blind)
#8C8361
Tritanopia (blue-blind)
#00978A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31995d;
/* rgb */ color: rgb(49, 153, 93);
/* oklch */ color: oklch(60.8% 0.131 154.0);
Tailwind
colors: {
  custom: {
    50: '#76b88b',
    500: '#31995d',
    950: '#000000',
  },
}
SCSS
$custom: #31995d;
$custom-light: #76b88b;
$custom-dark: #000000;
JSON
{
  "hex": "#31995d",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 93
  },
  "hsl": {
    "h": 145.385,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.13148,
    "h": 154
  },
  "luminance": 0.24226
}

Semantic roles & 50–950 ramp

primary
#31995D
secondary
#BA6C99
accent
#4D9FDB
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #31995D

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

Preview Lab → · Contrast checker → · Palette generator →

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