#31944B#31944B

#31944B is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.2% C 0.142 H 148.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#31944B
RGBrgb(49, 148, 75)
HSLhsl(136, 50%, 39%)
HSVhsv(136, 67%, 58%)
CMYKcmyk(66.9%, 0%, 49.3%, 42%)
CIE-LABlab(54.39, -44.94, 30.30)
CIE-LCHlch(54.39, 54.20, 146.01°)
OKLaboklab(59.16% -0.1212 0.0738)
OKLCHoklch(59.16% 0.142 148.7)
XYZxyz(13.1256, 22.3394, 10.2755)
Luminance0.2234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31944B #94317A
analogous
#489431 #31944B #31947C
triadic
#31944B #4B3194 #944B31
tetradic
#31944B #314894 #94317A #947C31
square
#31944B #314894 #94317A #947C31
split-complementary
#31944B #7C3194 #943148
monochromatic
#13381C #226634 #31944B #42C063 #70D089

Accessibility & contrast

On white

3.84
#31944B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#31944B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31944B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31944B#FFFFFF#000000##000000
##31944B1.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)
#958745
Deuteranopia (green-blind)
#897F50
Tritanopia (blue-blind)
#0B9183
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31944b;
/* rgb */ color: rgb(49, 148, 75);
/* oklch */ color: oklch(59.2% 0.142 148.7);
Tailwind
colors: {
  custom: {
    50: '#75b47e',
    500: '#31944b',
    950: '#000000',
  },
}
SCSS
$custom: #31944b;
$custom-light: #75b47e;
$custom-dark: #000000;
JSON
{
  "hex": "#31944b",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 75
  },
  "hsl": {
    "h": 135.758,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59159,
    "c": 0.14188,
    "h": 148.7
  },
  "luminance": 0.22341
}

Semantic roles & 50–950 ramp

primary
#31944B
secondary
#B769A3
accent
#4EB5DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #31944B

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

Preview Lab → · Contrast checker → · Palette generator →

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