#1F8D4D#1F8D4D

#1F8D4D is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.137 H 152.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F8D4D
RGBrgb(31, 141, 77)
HSLhsl(145, 64%, 34%)
HSVhsv(145, 78%, 55%)
CMYKcmyk(78%, 0%, 45.4%, 44.7%)
CIE-LABlab(51.70, -45.01, 25.73)
CIE-LCHlch(51.70, 51.84, 150.25°)
OKLaboklab(56.84% -0.121 0.0634)
OKLCHoklch(56.84% 0.137 152.4)
XYZxyz(11.4285, 19.8755, 10.2538)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D4D #8D1F5F
analogous
#288D1F #1F8D4D #1F8D84
triadic
#1F8D4D #4D1F8D #8D4D1F
tetradic
#1F8D4D #1F288D #8D1F5F #8D841F
square
#1F8D4D #1F288D #8D1F5F #8D841F
split-complementary
#1F8D4D #841F8D #8D1F28
monochromatic
#092916 #145B32 #1F8D4D #2ABF68 #4ED888

Accessibility & contrast

On white

4.22
#1F8D4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#1F8D4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D4D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D4D#FFFFFF#000000##000000
##1F8D4D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8148
Deuteranopia (green-blind)
#807851
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d4d;
/* rgb */ color: rgb(31, 141, 77);
/* oklch */ color: oklch(56.8% 0.137 152.4);
Tailwind
colors: {
  custom: {
    50: '#6daf7f',
    500: '#1f8d4d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d4d;
$custom-light: #6daf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d4d",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 77
  },
  "hsl": {
    "h": 145.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56835,
    "c": 0.13664,
    "h": 152.4
  },
  "luminance": 0.19877
}

Semantic roles & 50–950 ramp

primary
#1F8D4D
secondary
#BB4D8D
accent
#41A1E7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8D4D

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

Preview Lab → · Contrast checker → · Palette generator →

#1F8D4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva