#31944A#31944A

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

Color values

HEX#31944A
RGBrgb(49, 148, 74)
HSLhsl(135, 50%, 39%)
HSVhsv(135, 67%, 58%)
CMYKcmyk(66.9%, 0%, 50%, 42%)
CIE-LABlab(54.37, -45.10, 30.80)
CIE-LCHlch(54.37, 54.62, 145.67°)
OKLaboklab(59.14% -0.1217 0.0749)
OKLCHoklch(59.14% 0.143 148.4)
XYZxyz(13.0916, 22.3258, 10.0966)
Luminance0.2233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31944A #94317B
analogous
#499431 #31944A #31947B
triadic
#31944A #4A3194 #944A31
tetradic
#31944A #314994 #94317B #947B31
square
#31944A #314994 #94317B #947B31
split-complementary
#31944A #7B3194 #943149
monochromatic
#13381C #226633 #31944A #42C062 #70D088

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31944A#FFFFFF#000000##000000
##31944A1.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)
#958744
Deuteranopia (green-blind)
#897F4F
Tritanopia (blue-blind)
#0C9183
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31944a;
/* rgb */ color: rgb(49, 148, 74);
/* oklch */ color: oklch(59.1% 0.143 148.4);
Tailwind
colors: {
  custom: {
    50: '#75b47e',
    500: '#31944a',
    950: '#000000',
  },
}
SCSS
$custom: #31944a;
$custom-light: #75b47e;
$custom-dark: #000000;
JSON
{
  "hex": "#31944a",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 74
  },
  "hsl": {
    "h": 135.152,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59142,
    "c": 0.14284,
    "h": 148.4
  },
  "luminance": 0.22327
}

Semantic roles & 50–950 ramp

primary
#31944A
secondary
#B769A4
accent
#4EB6DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #31944A

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

Preview Lab → · Contrast checker → · Palette generator →

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