#1F8E4F#1F8E4F

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

Color values

HEX#1F8E4F
RGBrgb(31, 142, 79)
HSLhsl(146, 64%, 34%)
HSVhsv(146, 78%, 56%)
CMYKcmyk(78.2%, 0%, 44.4%, 44.3%)
CIE-LABlab(52.06, -45.02, 25.11)
CIE-LCHlch(52.06, 51.55, 150.85°)
OKLaboklab(57.15% -0.1211 0.062)
OKLCHoklch(57.15% 0.136 152.9)
XYZxyz(11.6483, 20.2004, 10.6808)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E4F #8E1F5E
analogous
#278E1F #1F8E4F #1F8E87
triadic
#1F8E4F #4F1F8E #8E4F1F
tetradic
#1F8E4F #1F278E #8E1F5E #8E871F
square
#1F8E4F #1F278E #8E1F5E #8E871F
split-complementary
#1F8E4F #871F8E #8E1F27
monochromatic
#092A17 #145C33 #1F8E4F #2AC06B #4FD98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8E4F#FFFFFF#000000##000000
##1F8E4F1.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)
#8E824A
Deuteranopia (green-blind)
#817853
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8e4f;
/* rgb */ color: rgb(31, 142, 79);
/* oklch */ color: oklch(57.1% 0.136 152.9);
Tailwind
colors: {
  custom: {
    50: '#6db081',
    500: '#1f8e4f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e4f;
$custom-light: #6db081;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e4f",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 79
  },
  "hsl": {
    "h": 145.946,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.13607,
    "h": 152.9
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#1F8E4F
secondary
#BB4D8C
accent
#419FE7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F8E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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