#31952D#31952D

#31952D is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.169 H 142.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#31952D
RGBrgb(49, 149, 45)
HSLhsl(118, 54%, 38%)
HSVhsv(118, 70%, 58%)
CMYKcmyk(67.1%, 0%, 69.8%, 41.6%)
CIE-LABlab(54.38, -49.19, 44.67)
CIE-LCHlch(54.38, 66.45, 137.75°)
OKLaboklab(59.05% -0.1338 0.1025)
OKLCHoklch(59.05% 0.169 142.6)
XYZxyz(12.4870, 22.3360, 6.1353)
Luminance0.2234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31952D #912D95
analogous
#65952D #31952D #2D955D
triadic
#31952D #2D3195 #952D31
tetradic
#31952D #2D6595 #912D95 #955D2D
square
#31952D #2D6595 #912D95 #955D2D
split-complementary
#31952D #5D2D95 #952D65
monochromatic
#123711 #22661F #31952D #41C43B #6ED26A

Accessibility & contrast

On white

3.84
#31952D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#31952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31952D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31952D#FFFFFF#000000##000000
##31952D1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871E
Deuteranopia (green-blind)
#8C7F37
Tritanopia (blue-blind)
#1B9180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31952d;
/* rgb */ color: rgb(49, 149, 45);
/* oklch */ color: oklch(59.0% 0.169 142.6);
Tailwind
colors: {
  custom: {
    50: '#77b56c',
    500: '#31952d',
    950: '#000000',
  },
}
SCSS
$custom: #31952d;
$custom-light: #77b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#31952d",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 117.692,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.1685,
    "h": 142.6
  },
  "luminance": 0.22337
}

Semantic roles & 50–950 ramp

primary
#31952D
secondary
#B665B9
accent
#4BDDD7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #31952D

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

Preview Lab → · Contrast checker → · Palette generator →

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