#31994C#31994C

#31994C is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.148 H 148.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#31994C
RGBrgb(49, 153, 76)
HSLhsl(136, 51%, 40%)
HSVhsv(136, 68%, 60%)
CMYKcmyk(68%, 0%, 50.3%, 40%)
CIE-LABlab(56.04, -46.72, 31.85)
CIE-LCHlch(56.04, 56.54, 145.72°)
OKLaboklab(60.53% -0.1259 0.0773)
OKLCHoklch(60.53% 0.148 148.5)
XYZxyz(13.9613, 23.9558, 10.7242)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31994C #99317E
analogous
#4A9931 #31994C #319980
triadic
#31994C #4C3199 #994C31
tetradic
#31994C #314A99 #99317E #998031
square
#31994C #314A99 #99317E #998031
split-complementary
#31994C #803199 #99314A
monochromatic
#133C1E #226B35 #31994C #44C365 #72D28B

Accessibility & contrast

On white

3.63
#31994C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#31994C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31994C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31994C#FFFFFF#000000##000000
##31994C1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C46
Deuteranopia (green-blind)
#8E8352
Tritanopia (blue-blind)
#049687
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31994c;
/* rgb */ color: rgb(49, 153, 76);
/* oklch */ color: oklch(60.5% 0.148 148.5);
Tailwind
colors: {
  custom: {
    50: '#76b87f',
    500: '#31994c',
    950: '#000000',
  },
}
SCSS
$custom: #31994c;
$custom-light: #76b87f;
$custom-dark: #000000;
JSON
{
  "hex": "#31994c",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 76
  },
  "hsl": {
    "h": 135.577,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.14778,
    "h": 148.5
  },
  "luminance": 0.23957
}

Semantic roles & 50–950 ramp

primary
#31994C
secondary
#BA6CA6
accent
#4DB6DB
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #31994C

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

Preview Lab → · Contrast checker → · Palette generator →

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