#31994D#31994D

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

Color values

HEX#31994D
RGBrgb(49, 153, 77)
HSLhsl(136, 51%, 40%)
HSVhsv(136, 68%, 60%)
CMYKcmyk(68%, 0%, 49.7%, 40%)
CIE-LABlab(56.06, -46.56, 31.35)
CIE-LCHlch(56.06, 56.13, 146.05°)
OKLaboklab(60.55% -0.1255 0.0762)
OKLCHoklch(60.55% 0.147 148.7)
XYZxyz(13.9964, 23.9698, 10.9087)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31994D #99317D
analogous
#499931 #31994D #319981
triadic
#31994D #4D3199 #994D31
tetradic
#31994D #314999 #99317D #998131
square
#31994D #314999 #99317D #998131
split-complementary
#31994D #813199 #993149
monochromatic
#133C1E #226B36 #31994D #44C366 #72D28C

Accessibility & contrast

On white

3.62
#31994D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31994D#FFFFFF#000000##000000
##31994D1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31994d;
/* rgb */ color: rgb(49, 153, 77);
/* oklch */ color: oklch(60.5% 0.147 148.7);
Tailwind
colors: {
  custom: {
    50: '#76b880',
    500: '#31994d',
    950: '#000000',
  },
}
SCSS
$custom: #31994d;
$custom-light: #76b880;
$custom-dark: #000000;
JSON
{
  "hex": "#31994d",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 77
  },
  "hsl": {
    "h": 136.154,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60547,
    "c": 0.14684,
    "h": 148.7
  },
  "luminance": 0.23971
}

Semantic roles & 50–950 ramp

primary
#31994D
secondary
#BA6CA5
accent
#4DB5DB
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #31994D

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

Preview Lab → · Contrast checker → · Palette generator →

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