#1F8B47#1F8B47

#1F8B47 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.140 H 150.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F8B47
RGBrgb(31, 139, 71)
HSLhsl(142, 64%, 33%)
HSVhsv(142, 78%, 55%)
CMYKcmyk(77.7%, 0%, 48.9%, 45.5%)
CIE-LABlab(50.93, -45.33, 27.98)
CIE-LCHlch(50.93, 53.27, 148.31°)
OKLaboklab(56.17% -0.1218 0.0683)
OKLCHoklch(56.17% 0.14 150.7)
XYZxyz(10.9341, 19.2102, 9.0917)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B47 #8B1F63
analogous
#2D8B1F #1F8B47 #1F8B7D
triadic
#1F8B47 #471F8B #8B471F
tetradic
#1F8B47 #1F2D8B #8B1F63 #8B7D1F
square
#1F8B47 #1F2D8B #8B1F63 #8B7D1F
split-complementary
#1F8B47 #7D1F8B #8B1F2D
monochromatic
#092714 #14592D #1F8B47 #2ABD61 #4DD780

Accessibility & contrast

On white

4.34
#1F8B47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#1F8B47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B47
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B47#FFFFFF#000000##000000
##1F8B471.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F42
Deuteranopia (green-blind)
#7F764C
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b47;
/* rgb */ color: rgb(31, 139, 71);
/* oklch */ color: oklch(56.2% 0.140 150.7);
Tailwind
colors: {
  custom: {
    50: '#6dae7b',
    500: '#1f8b47',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b47;
$custom-light: #6dae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b47",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 71
  },
  "hsl": {
    "h": 142.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56173,
    "c": 0.13969,
    "h": 150.7
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#1F8B47
secondary
#BA4C91
accent
#41A9E7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8B47

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

Preview Lab → · Contrast checker → · Palette generator →

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