#1F9739#1F9739

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

Color values

HEX#1F9739
RGBrgb(31, 151, 57)
HSLhsl(133, 66%, 36%)
HSVhsv(133, 79%, 59%)
CMYKcmyk(79.5%, 0%, 62.3%, 40.8%)
CIE-LABlab(54.78, -51.71, 39.68)
CIE-LCHlch(54.78, 65.18, 142.50°)
OKLaboklab(59.31% -0.1392 0.0932)
OKLCHoklch(59.31% 0.168 146.2)
XYZxyz(12.3693, 22.7184, 7.6033)
Luminance0.2272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9739 #971F7D
analogous
#41971F #1F9739 #1F9775
triadic
#1F9739 #391F97 #97391F
tetradic
#1F9739 #1F4197 #971F7D #97751F
square
#1F9739 #1F4197 #971F7D #97751F
split-complementary
#1F9739 #751F97 #971F41
monochromatic
#0A3113 #156426 #1F9739 #29CA4C #54DC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9739#FFFFFF#000000##000000
##1F97391.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)
#99892F
Deuteranopia (green-blind)
#8C7F41
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9739;
/* rgb */ color: rgb(31, 151, 57);
/* oklch */ color: oklch(59.3% 0.168 146.2);
Tailwind
colors: {
  custom: {
    50: '#70b773',
    500: '#1f9739',
    950: '#000000',
  },
}
SCSS
$custom: #1f9739;
$custom-light: #70b773;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9739",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 57
  },
  "hsl": {
    "h": 133,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59306,
    "c": 0.16756,
    "h": 146.2
  },
  "luminance": 0.2272
}

Semantic roles & 50–950 ramp

primary
#1F9739
secondary
#BF52A8
accent
#3FC4E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9739

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

Preview Lab → · Contrast checker → · Palette generator →

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