#31984F#31984F

#31984F is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.3% C 0.144 H 149.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#31984F
RGBrgb(49, 152, 79)
HSLhsl(137, 51%, 39%)
HSVhsv(137, 68%, 60%)
CMYKcmyk(67.8%, 0%, 48%, 40.4%)
CIE-LABlab(55.76, -45.84, 29.92)
CIE-LCHlch(55.76, 54.74, 146.87°)
OKLaboklab(60.31% -0.1236 0.0731)
OKLCHoklch(60.31% 0.144 149.4)
XYZxyz(13.9051, 23.6725, 11.2321)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31984F #98317A
analogous
#469831 #31984F #319883
triadic
#31984F #4F3198 #984F31
tetradic
#31984F #314698 #98317A #988331
square
#31984F #314698 #98317A #988331
split-complementary
#31984F #833198 #983146
monochromatic
#133B1F #226A37 #31984F #44C369 #72D28E

Accessibility & contrast

On white

3.66
#31984F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#31984F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31984F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31984F#FFFFFF#000000##000000
##31984F1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B49
Deuteranopia (green-blind)
#8C8254
Tritanopia (blue-blind)
#029587
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31984f;
/* rgb */ color: rgb(49, 152, 79);
/* oklch */ color: oklch(60.3% 0.144 149.4);
Tailwind
colors: {
  custom: {
    50: '#76b781',
    500: '#31984f',
    950: '#000000',
  },
}
SCSS
$custom: #31984f;
$custom-light: #76b781;
$custom-dark: #000000;
JSON
{
  "hex": "#31984f",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 79
  },
  "hsl": {
    "h": 137.476,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6031,
    "c": 0.14358,
    "h": 149.4
  },
  "luminance": 0.23674
}

Semantic roles & 50–950 ramp

primary
#31984F
secondary
#B96BA3
accent
#4DB1DB
background
#F7FBF8
surface
#EEF6EF
border
#C9D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #31984F

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

Preview Lab → · Contrast checker → · Palette generator →

#31984F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva