#1F9937#1F9937

#1F9937 is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.8% C 0.172 H 145.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#1F9937
RGBrgb(31, 153, 55)
HSLhsl(132, 66%, 36%)
HSVhsv(132, 80%, 60%)
CMYKcmyk(79.7%, 0%, 64.1%, 40%)
CIE-LABlab(55.43, -52.64, 41.34)
CIE-LCHlch(55.43, 66.93, 141.86°)
OKLaboklab(59.84% -0.1418 0.0966)
OKLCHoklch(59.84% 0.172 145.7)
XYZxyz(12.6450, 23.3481, 7.4539)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9937 #991F81
analogous
#44991F #1F9937 #1F9974
triadic
#1F9937 #371F99 #99371F
tetradic
#1F9937 #1F4499 #991F81 #99741F
square
#1F9937 #1F4499 #991F81 #99741F
split-complementary
#1F9937 #741F99 #991F44
monochromatic
#0A3312 #156625 #1F9937 #29CC49 #56DD70

Accessibility & contrast

On white

3.70
#1F9937 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#1F9937 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9937
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9937#FFFFFF#000000##000000
##1F99371.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2C
Deuteranopia (green-blind)
#8E8140
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9937;
/* rgb */ color: rgb(31, 153, 55);
/* oklch */ color: oklch(59.8% 0.172 145.7);
Tailwind
colors: {
  custom: {
    50: '#71b872',
    500: '#1f9937',
    950: '#000000',
  },
}
SCSS
$custom: #1f9937;
$custom-light: #71b872;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9937",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 131.803,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59837,
    "c": 0.17159,
    "h": 145.7
  },
  "luminance": 0.2335
}

Semantic roles & 50–950 ramp

primary
#1F9937
secondary
#C054AB
accent
#3FC8E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9937

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

Preview Lab → · Contrast checker → · Palette generator →

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