#1F8D4B#1F8D4B

#1F8D4B is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.139 H 151.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1F8D4B
RGBrgb(31, 141, 75)
HSLhsl(144, 64%, 34%)
HSVhsv(144, 78%, 55%)
CMYKcmyk(78%, 0%, 46.8%, 44.7%)
CIE-LABlab(51.66, -45.37, 26.77)
CIE-LCHlch(51.66, 52.68, 149.46°)
OKLaboklab(56.8% -0.122 0.0657)
OKLCHoklch(56.8% 0.139 151.7)
XYZxyz(11.3590, 19.8477, 9.8876)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D4B #8D1F61
analogous
#2A8D1F #1F8D4B #1F8D82
triadic
#1F8D4B #4B1F8D #8D4B1F
tetradic
#1F8D4B #1F2A8D #8D1F61 #8D821F
square
#1F8D4B #1F2A8D #8D1F61 #8D821F
split-complementary
#1F8D4B #821F8D #8D1F2A
monochromatic
#092916 #145B30 #1F8D4B #2ABF66 #4ED885

Accessibility & contrast

On white

4.23
#1F8D4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#1F8D4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D4B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D4B#FFFFFF#000000##000000
##1F8D4B1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8d4b;
/* rgb */ color: rgb(31, 141, 75);
/* oklch */ color: oklch(56.8% 0.139 151.7);
Tailwind
colors: {
  custom: {
    50: '#6daf7e',
    500: '#1f8d4b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d4b;
$custom-light: #6daf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d4b",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 75
  },
  "hsl": {
    "h": 144,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56799,
    "c": 0.13856,
    "h": 151.7
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#1F8D4B
secondary
#BB4D8F
accent
#41A5E7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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