#1F8D50#1F8D50

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

Color values

HEX#1F8D50
RGBrgb(31, 141, 80)
HSLhsl(147, 64%, 34%)
HSVhsv(147, 78%, 55%)
CMYKcmyk(78%, 0%, 43.3%, 44.7%)
CIE-LABlab(51.75, -44.44, 24.15)
CIE-LCHlch(51.75, 50.58, 151.48°)
OKLaboklab(56.89% -0.1196 0.0598)
OKLCHoklch(56.89% 0.134 153.4)
XYZxyz(11.5369, 19.9189, 10.8246)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D50 #8D1F5C
analogous
#258D1F #1F8D50 #1F8D87
triadic
#1F8D50 #501F8D #8D501F
tetradic
#1F8D50 #1F258D #8D1F5C #8D871F
square
#1F8D50 #1F258D #8D1F5C #8D871F
split-complementary
#1F8D50 #871F8D #8D1F25
monochromatic
#092917 #145B34 #1F8D50 #2ABF6C #4ED88C

Accessibility & contrast

On white

4.21
#1F8D50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D50#FFFFFF#000000##000000
##1F8D501.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814C
Deuteranopia (green-blind)
#807854
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d50;
/* rgb */ color: rgb(31, 141, 80);
/* oklch */ color: oklch(56.9% 0.134 153.4);
Tailwind
colors: {
  custom: {
    50: '#6daf82',
    500: '#1f8d50',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d50;
$custom-light: #6daf82;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d50",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 80
  },
  "hsl": {
    "h": 146.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56892,
    "c": 0.13374,
    "h": 153.4
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

primary
#1F8D50
secondary
#BB4D8A
accent
#419DE7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8D50

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

Preview Lab → · Contrast checker → · Palette generator →

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