#31944E#31944E

#31944E is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.139 H 149.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#31944E
RGBrgb(49, 148, 78)
HSLhsl(138, 50%, 39%)
HSVhsv(138, 67%, 58%)
CMYKcmyk(66.9%, 0%, 47.3%, 42%)
CIE-LABlab(54.43, -44.45, 28.77)
CIE-LCHlch(54.43, 52.94, 147.09°)
OKLaboklab(59.21% -0.1199 0.0704)
OKLCHoklch(59.21% 0.139 149.6)
XYZxyz(13.2307, 22.3815, 10.8290)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31944E #943177
analogous
#459431 #31944E #31947F
triadic
#31944E #4E3194 #944E31
tetradic
#31944E #314594 #943177 #947F31
square
#31944E #314594 #943177 #947F31
split-complementary
#31944E #7F3194 #943145
monochromatic
#13381E #226636 #31944E #42C067 #70D08C

Accessibility & contrast

On white

3.83
#31944E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#31944E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31944E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31944E#FFFFFF#000000##000000
##31944E1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958749
Deuteranopia (green-blind)
#897F53
Tritanopia (blue-blind)
#079183
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31944e;
/* rgb */ color: rgb(49, 148, 78);
/* oklch */ color: oklch(59.2% 0.139 149.6);
Tailwind
colors: {
  custom: {
    50: '#75b481',
    500: '#31944e',
    950: '#000000',
  },
}
SCSS
$custom: #31944e;
$custom-light: #75b481;
$custom-dark: #000000;
JSON
{
  "hex": "#31944e",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 78
  },
  "hsl": {
    "h": 137.576,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.13901,
    "h": 149.6
  },
  "luminance": 0.22383
}

Semantic roles & 50–950 ramp

primary
#31944E
secondary
#B769A1
accent
#4EB1DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #31944E

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

Preview Lab → · Contrast checker → · Palette generator →

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