#31945D#31945D

#31945D is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.5% C 0.124 H 155.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#31945D
RGBrgb(49, 148, 93)
HSLhsl(147, 50%, 39%)
HSVhsv(147, 67%, 58%)
CMYKcmyk(66.9%, 0%, 37.2%, 42%)
CIE-LABlab(54.68, -41.66, 20.94)
CIE-LCHlch(54.68, 46.63, 153.32°)
OKLaboklab(59.5% -0.1128 0.0525)
OKLCHoklch(59.5% 0.124 155)
XYZxyz(13.8311, 22.6216, 13.9913)
Luminance0.2262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31945D #943168
analogous
#369431 #31945D #31948E
triadic
#31945D #5D3194 #945D31
tetradic
#31945D #313694 #943168 #948E31
square
#31945D #313694 #943168 #948E31
split-complementary
#31945D #8E3194 #943136
monochromatic
#133823 #226640 #31945D #42C07A #70D09A

Accessibility & contrast

On white

3.80
#31945D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#31945D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31945D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31945D#FFFFFF#000000##000000
##31945D1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948859
Deuteranopia (green-blind)
#877F61
Tritanopia (blue-blind)
#009286
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #31945d;
/* rgb */ color: rgb(49, 148, 93);
/* oklch */ color: oklch(59.5% 0.124 155.0);
Tailwind
colors: {
  custom: {
    50: '#75b48b',
    500: '#31945d',
    950: '#000000',
  },
}
SCSS
$custom: #31945d;
$custom-light: #75b48b;
$custom-dark: #000000;
JSON
{
  "hex": "#31945d",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 93
  },
  "hsl": {
    "h": 146.667,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.12443,
    "h": 155
  },
  "luminance": 0.22623
}

Semantic roles & 50–950 ramp

primary
#31945D
secondary
#B76995
accent
#4E9CDA
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #31945D

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

Preview Lab → · Contrast checker → · Palette generator →

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