#1F8F47#1F8F47

#1F8F47 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.145 H 150.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F8F47
RGBrgb(31, 143, 71)
HSLhsl(141, 64%, 34%)
HSVhsv(141, 78%, 56%)
CMYKcmyk(78.3%, 0%, 50.3%, 43.9%)
CIE-LABlab(52.28, -46.82, 29.67)
CIE-LCHlch(52.28, 55.43, 147.63°)
OKLaboklab(57.28% -0.1258 0.0722)
OKLCHoklch(57.28% 0.145 150.2)
XYZxyz(11.5239, 20.3898, 9.2883)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F47 #8F1F67
analogous
#2F8F1F #1F8F47 #1F8F7F
triadic
#1F8F47 #471F8F #8F471F
tetradic
#1F8F47 #1F2F8F #8F1F67 #8F7F1F
square
#1F8F47 #1F2F8F #8F1F67 #8F7F1F
split-complementary
#1F8F47 #7F1F8F #8F1F2F
monochromatic
#092A15 #145D2E #1F8F47 #2AC160 #4FD981

Accessibility & contrast

On white

4.14
#1F8F47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#1F8F47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F47
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F47#FFFFFF#000000##000000
##1F8F471.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908241
Deuteranopia (green-blind)
#83794C
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8f47;
/* rgb */ color: rgb(31, 143, 71);
/* oklch */ color: oklch(57.3% 0.145 150.2);
Tailwind
colors: {
  custom: {
    50: '#6eb17b',
    500: '#1f8f47',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f47;
$custom-light: #6eb17b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f47",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 71
  },
  "hsl": {
    "h": 141.429,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.14504,
    "h": 150.2
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#1F8F47
secondary
#BC4E95
accent
#40ACE7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#081109
muted
#7B807B

Preview Lab

Preview with #1F8F47

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

Preview Lab → · Contrast checker → · Palette generator →

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