#31944C#31944C

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

Color values

HEX#31944C
RGBrgb(49, 148, 76)
HSLhsl(136, 50%, 39%)
HSVhsv(136, 67%, 58%)
CMYKcmyk(66.9%, 0%, 48.6%, 42%)
CIE-LABlab(54.40, -44.78, 29.79)
CIE-LCHlch(54.40, 53.78, 146.37°)
OKLaboklab(59.18% -0.1208 0.0727)
OKLCHoklch(59.18% 0.141 149)
XYZxyz(13.1600, 22.3532, 10.4571)
Luminance0.2235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31944C #943179
analogous
#479431 #31944C #31947D
triadic
#31944C #4C3194 #944C31
tetradic
#31944C #314794 #943179 #947D31
square
#31944C #314794 #943179 #947D31
split-complementary
#31944C #7D3194 #943147
monochromatic
#13381D #226634 #31944C #42C064 #70D08A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31944C#FFFFFF#000000##000000
##31944C1.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)
#958746
Deuteranopia (green-blind)
#897F51
Tritanopia (blue-blind)
#0A9183
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31944c;
/* rgb */ color: rgb(49, 148, 76);
/* oklch */ color: oklch(59.2% 0.141 149.0);
Tailwind
colors: {
  custom: {
    50: '#75b47f',
    500: '#31944c',
    950: '#000000',
  },
}
SCSS
$custom: #31944c;
$custom-light: #75b47f;
$custom-dark: #000000;
JSON
{
  "hex": "#31944c",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 76
  },
  "hsl": {
    "h": 136.364,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.14094,
    "h": 149
  },
  "luminance": 0.22355
}

Semantic roles & 50–950 ramp

primary
#31944C
secondary
#B769A2
accent
#4EB4DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #31944C

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

Preview Lab → · Contrast checker → · Palette generator →

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