#1F9747#1F9747

#1F9747 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.156 H 149.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1F9747
RGBrgb(31, 151, 71)
HSLhsl(140, 66%, 36%)
HSVhsv(140, 79%, 59%)
CMYKcmyk(79.5%, 0%, 53%, 40.8%)
CIE-LABlab(54.95, -49.73, 32.99)
CIE-LCHlch(54.95, 59.68, 146.44°)
OKLaboklab(59.5% -0.1336 0.0796)
OKLCHoklch(59.5% 0.156 149.2)
XYZxyz(12.7680, 22.8779, 9.7030)
Luminance0.2288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9747 #971F6F
analogous
#33971F #1F9747 #1F9783
triadic
#1F9747 #471F97 #97471F
tetradic
#1F9747 #1F3397 #971F6F #97831F
square
#1F9747 #1F3397 #971F6F #97831F
split-complementary
#1F9747 #831F97 #971F33
monochromatic
#0A3117 #15642F #1F9747 #29CA5F #54DC82

Accessibility & contrast

On white

3.77
#1F9747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#1F9747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9747
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9747#FFFFFF#000000##000000
##1F97471.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988940
Deuteranopia (green-blind)
#8B804D
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9747;
/* rgb */ color: rgb(31, 151, 71);
/* oklch */ color: oklch(59.5% 0.156 149.2);
Tailwind
colors: {
  custom: {
    50: '#70b77c',
    500: '#1f9747',
    950: '#000000',
  },
}
SCSS
$custom: #1f9747;
$custom-light: #70b77c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9747",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 71
  },
  "hsl": {
    "h": 140,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.15551,
    "h": 149.2
  },
  "luminance": 0.22879
}

Semantic roles & 50–950 ramp

primary
#1F9747
secondary
#BF529B
accent
#3FB0E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9747

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

Preview Lab → · Contrast checker → · Palette generator →

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