#31975F#31975F

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

Color values

HEX#31975F
RGBrgb(49, 151, 95)
HSLhsl(147, 51%, 39%)
HSVhsv(147, 68%, 59%)
CMYKcmyk(67.5%, 0%, 37.1%, 40.8%)
CIE-LABlab(55.70, -42.50, 21.19)
CIE-LCHlch(55.70, 47.49, 153.50°)
OKLaboklab(60.35% -0.1151 0.0531)
OKLCHoklch(60.35% 0.127 155.2)
XYZxyz(14.3975, 23.6109, 14.6228)
Luminance0.2361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31975F #973169
analogous
#369731 #31975F #319792
triadic
#31975F #5F3197 #975F31
tetradic
#31975F #313697 #973169 #979231
square
#31975F #313697 #973169 #979231
split-complementary
#31975F #923197 #973136
monochromatic
#133B25 #226942 #31975F #43C27C #71D19D

Accessibility & contrast

On white

3.67
#31975F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#31975F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31975F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31975F#FFFFFF#000000##000000
##31975F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B5B
Deuteranopia (green-blind)
#898263
Tritanopia (blue-blind)
#009589
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31975f;
/* rgb */ color: rgb(49, 151, 95);
/* oklch */ color: oklch(60.3% 0.127 155.2);
Tailwind
colors: {
  custom: {
    50: '#76b68d',
    500: '#31975f',
    950: '#000000',
  },
}
SCSS
$custom: #31975f;
$custom-light: #76b68d;
$custom-dark: #000000;
JSON
{
  "hex": "#31975f",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 95
  },
  "hsl": {
    "h": 147.059,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.12675,
    "h": 155.2
  },
  "luminance": 0.23612
}

Semantic roles & 50–950 ramp

primary
#31975F
secondary
#B96B96
accent
#4D9BDA
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #31975F

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

Preview Lab → · Contrast checker → · Palette generator →

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