#31994B#31994B

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

Color values

HEX#31994B
RGBrgb(49, 153, 75)
HSLhsl(135, 51%, 40%)
HSVhsv(135, 68%, 60%)
CMYKcmyk(68%, 0%, 51%, 40%)
CIE-LABlab(56.03, -46.88, 32.35)
CIE-LCHlch(56.03, 56.95, 145.39°)
OKLaboklab(60.51% -0.1264 0.0784)
OKLCHoklch(60.51% 0.149 148.2)
XYZxyz(13.9268, 23.9420, 10.5426)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31994B #99317F
analogous
#4B9931 #31994B #31997F
triadic
#31994B #4B3199 #994B31
tetradic
#31994B #314B99 #99317F #997F31
square
#31994B #314B99 #99317F #997F31
split-complementary
#31994B #7F3199 #99314B
monochromatic
#133C1E #226B34 #31994B #44C364 #72D28A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31994B#FFFFFF#000000##000000
##31994B1.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)
#9B8C44
Deuteranopia (green-blind)
#8E8351
Tritanopia (blue-blind)
#059687
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31994b;
/* rgb */ color: rgb(49, 153, 75);
/* oklch */ color: oklch(60.5% 0.149 148.2);
Tailwind
colors: {
  custom: {
    50: '#76b87f',
    500: '#31994b',
    950: '#000000',
  },
}
SCSS
$custom: #31994b;
$custom-light: #76b87f;
$custom-dark: #000000;
JSON
{
  "hex": "#31994b",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 75
  },
  "hsl": {
    "h": 135,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60515,
    "c": 0.14871,
    "h": 148.2
  },
  "luminance": 0.23943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31994B

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

Preview Lab → · Contrast checker → · Palette generator →

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