#31975B#31975B

#31975B is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.3% C 0.131 H 153.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#31975B
RGBrgb(49, 151, 91)
HSLhsl(145, 51%, 39%)
HSVhsv(145, 68%, 59%)
CMYKcmyk(67.5%, 0%, 39.7%, 40.8%)
CIE-LABlab(55.62, -43.29, 23.30)
CIE-LCHlch(55.62, 49.16, 151.71°)
OKLaboklab(60.26% -0.117 0.0581)
OKLCHoklch(60.26% 0.131 153.6)
XYZxyz(14.2203, 23.5400, 13.6898)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31975B #97316D
analogous
#3A9731 #31975B #31978E
triadic
#31975B #5B3197 #975B31
tetradic
#31975B #313A97 #97316D #978E31
square
#31975B #313A97 #97316D #978E31
split-complementary
#31975B #8E3197 #97313A
monochromatic
#133B23 #22693F #31975B #43C277 #71D199

Accessibility & contrast

On white

3.68
#31975B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#31975B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31975B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31975B#FFFFFF#000000##000000
##31975B1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B57
Deuteranopia (green-blind)
#8A825F
Tritanopia (blue-blind)
#009588
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31975b;
/* rgb */ color: rgb(49, 151, 91);
/* oklch */ color: oklch(60.3% 0.131 153.6);
Tailwind
colors: {
  custom: {
    50: '#76b68a',
    500: '#31975b',
    950: '#000000',
  },
}
SCSS
$custom: #31975b;
$custom-light: #76b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#31975b",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 91
  },
  "hsl": {
    "h": 144.706,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60263,
    "c": 0.1306,
    "h": 153.6
  },
  "luminance": 0.23542
}

Semantic roles & 50–950 ramp

primary
#31975B
secondary
#B96B99
accent
#4DA0DA
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #31975B

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

Preview Lab → · Contrast checker → · Palette generator →

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