#1F9947#1F9947

#1F9947 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.0% C 0.158 H 149.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#1F9947
RGBrgb(31, 153, 71)
HSLhsl(140, 66%, 36%)
HSVhsv(140, 80%, 60%)
CMYKcmyk(79.7%, 0%, 53.6%, 40%)
CIE-LABlab(55.61, -50.44, 33.80)
CIE-LCHlch(55.61, 60.72, 146.17°)
OKLaboklab(60.05% -0.1355 0.0814)
OKLCHoklch(60.05% 0.158 149)
XYZxyz(13.0926, 23.5271, 9.8112)
Luminance0.2353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9947 #991F71
analogous
#34991F #1F9947 #1F9984
triadic
#1F9947 #471F99 #99471F
tetradic
#1F9947 #1F3499 #991F71 #99841F
square
#1F9947 #1F3499 #991F71 #99841F
split-complementary
#1F9947 #841F99 #991F34
monochromatic
#0A3318 #15662F #1F9947 #29CC5F #56DD82

Accessibility & contrast

On white

3.68
#1F9947 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#1F9947 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9947
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9947#FFFFFF#000000##000000
##1F99471.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B40
Deuteranopia (green-blind)
#8D814D
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9947;
/* rgb */ color: rgb(31, 153, 71);
/* oklch */ color: oklch(60.0% 0.158 149.0);
Tailwind
colors: {
  custom: {
    50: '#70b87c',
    500: '#1f9947',
    950: '#000000',
  },
}
SCSS
$custom: #1f9947;
$custom-light: #70b87c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9947",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 71
  },
  "hsl": {
    "h": 139.672,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.15808,
    "h": 149
  },
  "luminance": 0.23529
}

Semantic roles & 50–950 ramp

primary
#1F9947
secondary
#C0549D
accent
#3FB1E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9947

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

Preview Lab → · Contrast checker → · Palette generator →

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