#31953B#31953B

#31953B is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.158 H 144.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#31953B
RGBrgb(49, 149, 59)
HSLhsl(126, 51%, 39%)
HSVhsv(126, 67%, 58%)
CMYKcmyk(67.1%, 0%, 60.4%, 41.6%)
CIE-LABlab(54.51, -47.63, 38.52)
CIE-LCHlch(54.51, 61.26, 141.04°)
OKLaboklab(59.2% -0.1289 0.0909)
OKLCHoklch(59.2% 0.158 144.8)
XYZxyz(12.8027, 22.4623, 7.7978)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31953B #95318B
analogous
#599531 #31953B #31956D
triadic
#31953B #3B3195 #953B31
tetradic
#31953B #315995 #95318B #956D31
square
#31953B #315995 #95318B #956D31
split-complementary
#31953B #6D3195 #953159
monochromatic
#133917 #226729 #31953B #42C14F #70D07A

Accessibility & contrast

On white

3.82
#31953B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#31953B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31953B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31953B#FFFFFF#000000##000000
##31953B1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988732
Deuteranopia (green-blind)
#8B7F42
Tritanopia (blue-blind)
#159181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31953b;
/* rgb */ color: rgb(49, 149, 59);
/* oklch */ color: oklch(59.2% 0.158 144.8);
Tailwind
colors: {
  custom: {
    50: '#76b574',
    500: '#31953b',
    950: '#000000',
  },
}
SCSS
$custom: #31953b;
$custom-light: #76b574;
$custom-dark: #000000;
JSON
{
  "hex": "#31953b",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 59
  },
  "hsl": {
    "h": 126,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.592,
    "c": 0.15769,
    "h": 144.8
  },
  "luminance": 0.22464
}

Semantic roles & 50–950 ramp

primary
#31953B
secondary
#B86AB0
accent
#4ECCDA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #31953B

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

Preview Lab → · Contrast checker → · Palette generator →

#31953B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva