#1F8E37#1F8E37

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

Color values

HEX#1F8E37
RGBrgb(31, 142, 55)
HSLhsl(133, 64%, 34%)
HSVhsv(133, 78%, 56%)
CMYKcmyk(78.2%, 0%, 61.3%, 44.3%)
CIE-LABlab(51.74, -48.85, 37.12)
CIE-LCHlch(51.74, 61.36, 142.77°)
OKLaboklab(56.77% -0.1316 0.0876)
OKLCHoklch(56.77% 0.158 146.4)
XYZxyz(10.9269, 19.9119, 6.8812)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E37 #8E1F76
analogous
#3F8E1F #1F8E37 #1F8E6F
triadic
#1F8E37 #371F8E #8E371F
tetradic
#1F8E37 #1F3F8E #8E1F76 #8E6F1F
square
#1F8E37 #1F3F8E #8E1F76 #8E6F1F
split-complementary
#1F8E37 #6F1F8E #8E1F3F
monochromatic
#092A10 #145C24 #1F8E37 #2AC04A #4FD96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8E37#FFFFFF#000000##000000
##1F8E371.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)
#90812E
Deuteranopia (green-blind)
#84783E
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8e37;
/* rgb */ color: rgb(31, 142, 55);
/* oklch */ color: oklch(56.8% 0.158 146.4);
Tailwind
colors: {
  custom: {
    50: '#6eb071',
    500: '#1f8e37',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e37;
$custom-light: #6eb071;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e37",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 55
  },
  "hsl": {
    "h": 132.973,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56773,
    "c": 0.15803,
    "h": 146.4
  },
  "luminance": 0.19913
}

Semantic roles & 50–950 ramp

primary
#1F8E37
secondary
#BB4DA4
accent
#41C3E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F8E37

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

Preview Lab → · Contrast checker → · Palette generator →

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