#31975C#31975C

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

Color values

HEX#31975C
RGBrgb(49, 151, 92)
HSLhsl(145, 51%, 39%)
HSVhsv(145, 68%, 59%)
CMYKcmyk(67.5%, 0%, 39.1%, 40.8%)
CIE-LABlab(55.64, -43.09, 22.77)
CIE-LCHlch(55.64, 48.74, 152.15°)
OKLaboklab(60.28% -0.1165 0.0569)
OKLCHoklch(60.28% 0.13 154)
XYZxyz(14.2638, 23.5574, 13.9185)
Luminance0.2356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31975C #97316C
analogous
#399731 #31975C #31978F
triadic
#31975C #5C3197 #975C31
tetradic
#31975C #313997 #97316C #978F31
square
#31975C #313997 #97316C #978F31
split-complementary
#31975C #8F3197 #973139
monochromatic
#133B24 #226940 #31975C #43C279 #71D19A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31975C#FFFFFF#000000##000000
##31975C1.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)
#978B58
Deuteranopia (green-blind)
#8A8260
Tritanopia (blue-blind)
#009588
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31975c;
/* rgb */ color: rgb(49, 151, 92);
/* oklch */ color: oklch(60.3% 0.130 154.0);
Tailwind
colors: {
  custom: {
    50: '#76b68a',
    500: '#31975c',
    950: '#000000',
  },
}
SCSS
$custom: #31975c;
$custom-light: #76b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#31975c",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 92
  },
  "hsl": {
    "h": 145.294,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.12964,
    "h": 154
  },
  "luminance": 0.23559
}

Semantic roles & 50–950 ramp

primary
#31975C
secondary
#B96B98
accent
#4D9FDA
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #31975C

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

Preview Lab → · Contrast checker → · Palette generator →

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