#1F9946#1F9946

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

Color values

HEX#1F9946
RGBrgb(31, 153, 70)
HSLhsl(139, 66%, 36%)
HSVhsv(139, 80%, 60%)
CMYKcmyk(79.7%, 0%, 54.2%, 40%)
CIE-LABlab(55.60, -50.60, 34.30)
CIE-LCHlch(55.60, 61.13, 145.87°)
OKLaboklab(60.03% -0.1359 0.0825)
OKLCHoklch(60.03% 0.159 148.8)
XYZxyz(13.0607, 23.5144, 9.6436)
Luminance0.2352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9946 #991F72
analogous
#35991F #1F9946 #1F9983
triadic
#1F9946 #461F99 #99461F
tetradic
#1F9946 #1F3599 #991F72 #99831F
square
#1F9946 #1F3599 #991F72 #99831F
split-complementary
#1F9946 #831F99 #991F35
monochromatic
#0A3317 #15662F #1F9946 #29CC5D #56DD81

Accessibility & contrast

On white

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

On black

5.70
#1F9946 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9946
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9946#FFFFFF#000000##000000
##1F99461.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9946;
/* rgb */ color: rgb(31, 153, 70);
/* oklch */ color: oklch(60.0% 0.159 148.8);
Tailwind
colors: {
  custom: {
    50: '#70b87b',
    500: '#1f9946',
    950: '#000000',
  },
}
SCSS
$custom: #1f9946;
$custom-light: #70b87b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9946",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 70
  },
  "hsl": {
    "h": 139.18,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60032,
    "c": 0.15898,
    "h": 148.8
  },
  "luminance": 0.23516
}

Semantic roles & 50–950 ramp

primary
#1F9946
secondary
#C0549E
accent
#3FB3E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9946

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

Preview Lab → · Contrast checker → · Palette generator →

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