#1F9939#1F9939

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

Color values

HEX#1F9939
RGBrgb(31, 153, 57)
HSLhsl(133, 66%, 36%)
HSVhsv(133, 80%, 60%)
CMYKcmyk(79.7%, 0%, 62.7%, 40%)
CIE-LABlab(55.45, -52.39, 40.44)
CIE-LCHlch(55.45, 66.18, 142.34°)
OKLaboklab(59.86% -0.1411 0.0949)
OKLCHoklch(59.86% 0.17 146.1)
XYZxyz(12.6939, 23.3677, 7.7115)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9939 #991F7F
analogous
#42991F #1F9939 #1F9976
triadic
#1F9939 #391F99 #99391F
tetradic
#1F9939 #1F4299 #991F7F #99761F
square
#1F9939 #1F4299 #991F7F #99761F
split-complementary
#1F9939 #761F99 #991F42
monochromatic
#0A3313 #156626 #1F9939 #29CC4C #56DD72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9939#FFFFFF#000000##000000
##1F99391.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)
#9B8A2E
Deuteranopia (green-blind)
#8E8141
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9939;
/* rgb */ color: rgb(31, 153, 57);
/* oklch */ color: oklch(59.9% 0.170 146.1);
Tailwind
colors: {
  custom: {
    50: '#71b873',
    500: '#1f9939',
    950: '#000000',
  },
}
SCSS
$custom: #1f9939;
$custom-light: #71b873;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9939",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 57
  },
  "hsl": {
    "h": 132.787,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5986,
    "c": 0.17001,
    "h": 146.1
  },
  "luminance": 0.23369
}

Semantic roles & 50–950 ramp

primary
#1F9939
secondary
#C054A9
accent
#3FC5E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9939

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

Preview Lab → · Contrast checker → · Palette generator →

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