#1F8A4D#1F8A4D

#1F8A4D is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.133 H 152.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F8A4D
RGBrgb(31, 138, 77)
HSLhsl(146, 63%, 33%)
HSVhsv(146, 78%, 54%)
CMYKcmyk(77.5%, 0%, 44.2%, 45.9%)
CIE-LABlab(50.69, -43.86, 24.42)
CIE-LCHlch(50.69, 50.20, 150.89°)
OKLaboklab(56% -0.118 0.0604)
OKLCHoklch(56% 0.133 152.9)
XYZxyz(10.9921, 19.0028, 10.1083)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A4D #8A1F5C
analogous
#278A1F #1F8A4D #1F8A82
triadic
#1F8A4D #4D1F8A #8A4D1F
tetradic
#1F8A4D #1F278A #8A1F5C #8A821F
square
#1F8A4D #1F278A #8A1F5C #8A821F
split-complementary
#1F8A4D #821F8A #8A1F27
monochromatic
#092615 #145831 #1F8A4D #2ABC69 #4CD788

Accessibility & contrast

On white

4.37
#1F8A4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#1F8A4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A4D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A4D#FFFFFF#000000##000000
##1F8A4D1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E49
Deuteranopia (green-blind)
#7D7551
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8a4d;
/* rgb */ color: rgb(31, 138, 77);
/* oklch */ color: oklch(56.0% 0.133 152.9);
Tailwind
colors: {
  custom: {
    50: '#6cad7f',
    500: '#1f8a4d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a4d;
$custom-light: #6cad7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a4d",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 77
  },
  "hsl": {
    "h": 145.794,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56004,
    "c": 0.13255,
    "h": 152.9
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#1F8A4D
secondary
#BA4B8A
accent
#419FE6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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