#31975E#31975E

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

Color values

HEX#31975E
RGBrgb(49, 151, 94)
HSLhsl(146, 51%, 39%)
HSVhsv(146, 68%, 59%)
CMYKcmyk(67.5%, 0%, 37.7%, 40.8%)
CIE-LABlab(55.68, -42.70, 21.72)
CIE-LCHlch(55.68, 47.91, 153.04°)
OKLaboklab(60.32% -0.1155 0.0544)
OKLCHoklch(60.32% 0.128 154.8)
XYZxyz(14.3523, 23.5928, 14.3850)
Luminance0.2359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31975E #97316A
analogous
#379731 #31975E #319791
triadic
#31975E #5E3197 #975E31
tetradic
#31975E #313797 #97316A #979131
square
#31975E #313797 #97316A #979131
split-complementary
#31975E #913197 #973137
monochromatic
#133B24 #226941 #31975E #43C27B #71D19C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31975E#FFFFFF#000000##000000
##31975E1.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)
#978B5A
Deuteranopia (green-blind)
#898262
Tritanopia (blue-blind)
#009588
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31975e;
/* rgb */ color: rgb(49, 151, 94);
/* oklch */ color: oklch(60.3% 0.128 154.8);
Tailwind
colors: {
  custom: {
    50: '#76b68c',
    500: '#31975e',
    950: '#000000',
  },
}
SCSS
$custom: #31975e;
$custom-light: #76b68c;
$custom-dark: #000000;
JSON
{
  "hex": "#31975e",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 94
  },
  "hsl": {
    "h": 146.471,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60324,
    "c": 0.12771,
    "h": 154.8
  },
  "luminance": 0.23594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31975E

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

Preview Lab → · Contrast checker → · Palette generator →

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