#1F9E47#1F9E47

#1F9E47 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.164 H 148.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#1F9E47
RGBrgb(31, 158, 71)
HSLhsl(139, 67%, 37%)
HSVhsv(139, 80%, 62%)
CMYKcmyk(80.4%, 0%, 55.1%, 38%)
CIE-LABlab(57.27, -52.21, 35.82)
CIE-LCHlch(57.27, 63.31, 145.54°)
OKLaboklab(61.42% -0.1402 0.0859)
OKLCHoklch(61.42% 0.164 148.5)
XYZxyz(13.9281, 25.1983, 10.0897)
Luminance0.2520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E47 #9E1F76
analogous
#369E1F #1F9E47 #1F9E87
triadic
#1F9E47 #471F9E #9E471F
tetradic
#1F9E47 #1F369E #9E1F76 #9E871F
square
#1F9E47 #1F369E #9E1F76 #9E871F
split-complementary
#1F9E47 #871F9E #9E1F36
monochromatic
#0B3819 #156B30 #1F9E47 #29D15E #59DE83

Accessibility & contrast

On white

3.48
#1F9E47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#1F9E47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E47
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E47#FFFFFF#000000##000000
##1F9E471.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F3F
Deuteranopia (green-blind)
#91864E
Tritanopia (blue-blind)
#009B8A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e47;
/* rgb */ color: rgb(31, 158, 71);
/* oklch */ color: oklch(61.4% 0.164 148.5);
Tailwind
colors: {
  custom: {
    50: '#72bc7c',
    500: '#1f9e47',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e47;
$custom-light: #72bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e47",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 71
  },
  "hsl": {
    "h": 138.898,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6142,
    "c": 0.16445,
    "h": 148.5
  },
  "luminance": 0.252
}

Semantic roles & 50–950 ramp

primary
#1F9E47
secondary
#C256A0
accent
#3EB4EA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #1F9E47

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

Preview Lab → · Contrast checker → · Palette generator →

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