#1F8F4F#1F8F4F

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

Color values

HEX#1F8F4F
RGBrgb(31, 143, 79)
HSLhsl(146, 64%, 34%)
HSVhsv(146, 78%, 56%)
CMYKcmyk(78.3%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.40, -45.40, 25.54)
CIE-LCHlch(52.40, 52.09, 150.64°)
OKLaboklab(57.43% -0.1221 0.063)
OKLCHoklch(57.43% 0.137 152.7)
XYZxyz(11.7977, 20.4993, 10.7306)
Luminance0.2050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F4F #8F1F5F
analogous
#278F1F #1F8F4F #1F8F87
triadic
#1F8F4F #4F1F8F #8F4F1F
tetradic
#1F8F4F #1F278F #8F1F5F #8F871F
square
#1F8F4F #1F278F #8F1F5F #8F871F
split-complementary
#1F8F4F #871F8F #8F1F27
monochromatic
#092A17 #145D33 #1F8F4F #2AC16B #4FD98A

Accessibility & contrast

On white

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

On black

5.10
#1F8F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F4F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F4F#FFFFFF#000000##000000
##1F8F4F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8f4f;
/* rgb */ color: rgb(31, 143, 79);
/* oklch */ color: oklch(57.4% 0.137 152.7);
Tailwind
colors: {
  custom: {
    50: '#6eb181',
    500: '#1f8f4f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f4f;
$custom-light: #6eb181;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f4f",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 145.714,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.13742,
    "h": 152.7
  },
  "luminance": 0.20501
}

Semantic roles & 50–950 ramp

primary
#1F8F4F
secondary
#BC4E8D
accent
#40A0E7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F8F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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