#1F8E4E#1F8E4E

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

Color values

HEX#1F8E4E
RGBrgb(31, 142, 78)
HSLhsl(145, 64%, 34%)
HSVhsv(145, 78%, 56%)
CMYKcmyk(78.2%, 0%, 45.1%, 44.3%)
CIE-LABlab(52.05, -45.20, 25.64)
CIE-LCHlch(52.05, 51.97, 150.44°)
OKLaboklab(57.13% -0.1216 0.0632)
OKLCHoklch(57.13% 0.137 152.5)
XYZxyz(11.6122, 20.1860, 10.4905)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E4E #8E1F5F
analogous
#288E1F #1F8E4E #1F8E86
triadic
#1F8E4E #4E1F8E #8E4E1F
tetradic
#1F8E4E #1F288E #8E1F5F #8E861F
square
#1F8E4E #1F288E #8E1F5F #8E861F
split-complementary
#1F8E4E #861F8E #8E1F28
monochromatic
#092A17 #145C32 #1F8E4E #2AC06A #4FD989

Accessibility & contrast

On white

4.17
#1F8E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8E4E#FFFFFF#000000##000000
##1F8E4E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8249
Deuteranopia (green-blind)
#817852
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8e4e;
/* rgb */ color: rgb(31, 142, 78);
/* oklch */ color: oklch(57.1% 0.137 152.5);
Tailwind
colors: {
  custom: {
    50: '#6db080',
    500: '#1f8e4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e4e;
$custom-light: #6db080;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e4e",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 78
  },
  "hsl": {
    "h": 145.405,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.13703,
    "h": 152.5
  },
  "luminance": 0.20187
}

Semantic roles & 50–950 ramp

primary
#1F8E4E
secondary
#BB4D8D
accent
#41A1E7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F8E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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