#31952A#31952A

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

Color values

HEX#31952A
RGBrgb(49, 149, 42)
HSLhsl(116, 56%, 37%)
HSVhsv(116, 72%, 58%)
CMYKcmyk(67.1%, 0%, 71.8%, 41.6%)
CIE-LABlab(54.36, -49.47, 45.87)
CIE-LCHlch(54.36, 67.46, 137.16°)
OKLaboklab(59.02% -0.1347 0.1046)
OKLCHoklch(59.02% 0.171 142.2)
XYZxyz(12.4313, 22.3138, 5.8419)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31952A #8E2A95
analogous
#66952A #31952A #2A9559
triadic
#31952A #2A3195 #952A31
tetradic
#31952A #2A6695 #8E2A95 #95592A
square
#31952A #2A6695 #8E2A95 #95592A
split-complementary
#31952A #592A95 #952A66
monochromatic
#12360F #21651D #31952A #41C537 #6DD466

Accessibility & contrast

On white

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

On black

5.46
#31952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31952A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31952A#FFFFFF#000000##000000
##31952A1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998719
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#1C9080
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31952a;
/* rgb */ color: rgb(49, 149, 42);
/* oklch */ color: oklch(59.0% 0.171 142.2);
Tailwind
colors: {
  custom: {
    50: '#77b56a',
    500: '#31952a',
    950: '#000000',
  },
}
SCSS
$custom: #31952a;
$custom-light: #77b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#31952a",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 116.075,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59021,
    "c": 0.17054,
    "h": 142.2
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#31952A
secondary
#B461BA
accent
#48DFD5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #31952A

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

Preview Lab → · Contrast checker → · Palette generator →

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