#1F8D4C#1F8D4C

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

Color values

HEX#1F8D4C
RGBrgb(31, 141, 76)
HSLhsl(145, 64%, 34%)
HSVhsv(145, 78%, 55%)
CMYKcmyk(78%, 0%, 46.1%, 44.7%)
CIE-LABlab(51.68, -45.19, 26.25)
CIE-LCHlch(51.68, 52.26, 149.85°)
OKLaboklab(56.82% -0.1215 0.0646)
OKLCHoklch(56.82% 0.138 152)
XYZxyz(11.3934, 19.8615, 10.0693)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D4C #8D1F60
analogous
#298D1F #1F8D4C #1F8D83
triadic
#1F8D4C #4C1F8D #8D4C1F
tetradic
#1F8D4C #1F298D #8D1F60 #8D831F
square
#1F8D4C #1F298D #8D1F60 #8D831F
split-complementary
#1F8D4C #831F8D #8D1F29
monochromatic
#092916 #145B31 #1F8D4C #2ABF67 #4ED887

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D4C#FFFFFF#000000##000000
##1F8D4C1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8d4c;
/* rgb */ color: rgb(31, 141, 76);
/* oklch */ color: oklch(56.8% 0.138 152.0);
Tailwind
colors: {
  custom: {
    50: '#6daf7f',
    500: '#1f8d4c',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d4c;
$custom-light: #6daf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d4c",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 76
  },
  "hsl": {
    "h": 144.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56817,
    "c": 0.1376,
    "h": 152
  },
  "luminance": 0.19863
}

Semantic roles & 50–950 ramp

primary
#1F8D4C
secondary
#BB4D8E
accent
#41A3E7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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