#1F9737#1F9737

#1F9737 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.169 H 145.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1F9737
RGBrgb(31, 151, 55)
HSLhsl(132, 66%, 36%)
HSVhsv(132, 79%, 59%)
CMYKcmyk(79.5%, 0%, 63.6%, 40.8%)
CIE-LABlab(54.76, -51.96, 40.58)
CIE-LCHlch(54.76, 65.93, 142.01°)
OKLaboklab(59.28% -0.14 0.095)
OKLCHoklch(59.28% 0.169 145.8)
XYZxyz(12.3204, 22.6989, 7.3457)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9737 #971F7F
analogous
#43971F #1F9737 #1F9773
triadic
#1F9737 #371F97 #97371F
tetradic
#1F9737 #1F4397 #971F7F #97731F
square
#1F9737 #1F4397 #971F7F #97731F
split-complementary
#1F9737 #731F97 #971F43
monochromatic
#0A3112 #156425 #1F9737 #29CA49 #54DC70

Accessibility & contrast

On white

3.79
#1F9737 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#1F9737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9737
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9737#FFFFFF#000000##000000
##1F97371.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99892C
Deuteranopia (green-blind)
#8C7F3F
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9737;
/* rgb */ color: rgb(31, 151, 55);
/* oklch */ color: oklch(59.3% 0.169 145.8);
Tailwind
colors: {
  custom: {
    50: '#70b772',
    500: '#1f9737',
    950: '#000000',
  },
}
SCSS
$custom: #1f9737;
$custom-light: #70b772;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9737",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 55
  },
  "hsl": {
    "h": 132,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.16916,
    "h": 145.8
  },
  "luminance": 0.227
}

Semantic roles & 50–950 ramp

primary
#1F9737
secondary
#BF52AA
accent
#3FC7E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9737

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

Preview Lab → · Contrast checker → · Palette generator →

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