#1F8E41#1F8E41

#1F8E41 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.149 H 148.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1F8E41
RGBrgb(31, 142, 65)
HSLhsl(138, 64%, 34%)
HSVhsv(138, 78%, 56%)
CMYKcmyk(78.2%, 0%, 54.2%, 44.3%)
CIE-LABlab(51.86, -47.42, 32.28)
CIE-LCHlch(51.86, 57.37, 145.75°)
OKLaboklab(56.91% -0.1275 0.0777)
OKLCHoklch(56.91% 0.149 148.6)
XYZxyz(11.1913, 20.0176, 8.2740)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E41 #8E1F6C
analogous
#358E1F #1F8E41 #1F8E79
triadic
#1F8E41 #411F8E #8E411F
tetradic
#1F8E41 #1F358E #8E1F6C #8E791F
square
#1F8E41 #1F358E #8E1F6C #8E791F
split-complementary
#1F8E41 #791F8E #8E1F35
monochromatic
#092A13 #145C2A #1F8E41 #2AC058 #4FD979

Accessibility & contrast

On white

4.20
#1F8E41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#1F8E41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8E41
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8E41#FFFFFF#000000##000000
##1F8E411.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813A
Deuteranopia (green-blind)
#837847
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8e41;
/* rgb */ color: rgb(31, 142, 65);
/* oklch */ color: oklch(56.9% 0.149 148.6);
Tailwind
colors: {
  custom: {
    50: '#6eb077',
    500: '#1f8e41',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e41;
$custom-light: #6eb077;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e41",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 65
  },
  "hsl": {
    "h": 138.378,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.14928,
    "h": 148.6
  },
  "luminance": 0.20019
}

Semantic roles & 50–950 ramp

primary
#1F8E41
secondary
#BB4D9A
accent
#41B4E7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081109
muted
#7B807B

Preview Lab

Preview with #1F8E41

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

Preview Lab → · Contrast checker → · Palette generator →

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