#1F8D47#1F8D47

#1F8D47 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.142 H 150.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1F8D47
RGBrgb(31, 141, 71)
HSLhsl(142, 64%, 34%)
HSVhsv(142, 78%, 55%)
CMYKcmyk(78%, 0%, 49.6%, 44.7%)
CIE-LABlab(51.60, -46.08, 28.83)
CIE-LCHlch(51.60, 54.35, 147.96°)
OKLaboklab(56.73% -0.1238 0.0703)
OKLCHoklch(56.73% 0.142 150.4)
XYZxyz(11.2263, 19.7947, 9.1891)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D47 #8D1F65
analogous
#2E8D1F #1F8D47 #1F8D7E
triadic
#1F8D47 #471F8D #8D471F
tetradic
#1F8D47 #1F2E8D #8D1F65 #8D7E1F
square
#1F8D47 #1F2E8D #8D1F65 #8D7E1F
split-complementary
#1F8D47 #7E1F8D #8D1F2E
monochromatic
#092914 #145B2E #1F8D47 #2ABF60 #4ED880

Accessibility & contrast

On white

4.23
#1F8D47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#1F8D47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D47
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D47#FFFFFF#000000##000000
##1F8D471.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8041
Deuteranopia (green-blind)
#81774C
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d47;
/* rgb */ color: rgb(31, 141, 71);
/* oklch */ color: oklch(56.7% 0.142 150.4);
Tailwind
colors: {
  custom: {
    50: '#6daf7b',
    500: '#1f8d47',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d47;
$custom-light: #6daf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d47",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 71
  },
  "hsl": {
    "h": 141.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.14237,
    "h": 150.4
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#1F8D47
secondary
#BB4D93
accent
#41ABE7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8D47

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

Preview Lab → · Contrast checker → · Palette generator →

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