#1F8F4D#1F8F4D

#1F8F4D is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.139 H 152.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1F8F4D
RGBrgb(31, 143, 77)
HSLhsl(145, 64%, 34%)
HSVhsv(145, 78%, 56%)
CMYKcmyk(78.3%, 0%, 46.2%, 43.9%)
CIE-LABlab(52.37, -45.77, 26.59)
CIE-LCHlch(52.37, 52.93, 149.85°)
OKLaboklab(57.39% -0.123 0.0654)
OKLCHoklch(57.39% 0.139 152)
XYZxyz(11.7260, 20.4707, 10.3530)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F4D #8F1F61
analogous
#298F1F #1F8F4D #1F8F85
triadic
#1F8F4D #4D1F8F #8F4D1F
tetradic
#1F8F4D #1F298F #8F1F61 #8F851F
square
#1F8F4D #1F298F #8F1F61 #8F851F
split-complementary
#1F8F4D #851F8F #8F1F29
monochromatic
#092A17 #145D32 #1F8F4D #2AC168 #4FD988

Accessibility & contrast

On white

4.12
#1F8F4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#1F8F4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F4D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F4D#FFFFFF#000000##000000
##1F8F4D1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8248
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8f4d;
/* rgb */ color: rgb(31, 143, 77);
/* oklch */ color: oklch(57.4% 0.139 152.0);
Tailwind
colors: {
  custom: {
    50: '#6eb180',
    500: '#1f8f4d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f4d;
$custom-light: #6eb180;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f4d",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 144.643,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57388,
    "c": 0.13934,
    "h": 152
  },
  "luminance": 0.20472
}

Semantic roles & 50–950 ramp

primary
#1F8F4D
secondary
#BC4E8F
accent
#40A3E7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F8F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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