#1F8E50#1F8E50

#1F8E50 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.135 H 153.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F8E50
RGBrgb(31, 142, 80)
HSLhsl(146, 64%, 34%)
HSVhsv(146, 78%, 56%)
CMYKcmyk(78.2%, 0%, 43.7%, 44.3%)
CIE-LABlab(52.08, -44.83, 24.59)
CIE-LCHlch(52.08, 51.13, 151.26°)
OKLaboklab(57.17% -0.1206 0.0608)
OKLCHoklch(57.17% 0.135 153.2)
XYZxyz(11.6850, 20.2151, 10.8739)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E50 #8E1F5D
analogous
#268E1F #1F8E50 #1F8E88
triadic
#1F8E50 #501F8E #8E501F
tetradic
#1F8E50 #1F268E #8E1F5D #8E881F
square
#1F8E50 #1F268E #8E1F5D #8E881F
split-complementary
#1F8E50 #881F8E #8E1F26
monochromatic
#092A17 #145C34 #1F8E50 #2AC06C #4FD98C

Accessibility & contrast

On white

4.16
#1F8E50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#1F8E50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8E50
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8E50#FFFFFF#000000##000000
##1F8E501.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824C
Deuteranopia (green-blind)
#817954
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8e50;
/* rgb */ color: rgb(31, 142, 80);
/* oklch */ color: oklch(57.2% 0.135 153.2);
Tailwind
colors: {
  custom: {
    50: '#6db082',
    500: '#1f8e50',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e50;
$custom-light: #6db082;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e50",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 80
  },
  "hsl": {
    "h": 146.486,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57168,
    "c": 0.1351,
    "h": 153.2
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#1F8E50
secondary
#BB4D8B
accent
#419EE7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F8E50

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

Preview Lab → · Contrast checker → · Palette generator →

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