#1F9841#1F9841

#1F9841 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.162 H 147.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#1F9841
RGBrgb(31, 152, 65)
HSLhsl(137, 66%, 36%)
HSVhsv(137, 80%, 60%)
CMYKcmyk(79.6%, 0%, 57.2%, 40.4%)
CIE-LABlab(55.20, -50.98, 36.32)
CIE-LCHlch(55.20, 62.60, 144.54°)
OKLaboklab(59.69% -0.137 0.0866)
OKLCHoklch(59.69% 0.162 147.7)
XYZxyz(12.7464, 23.1279, 8.7924)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9841 #981F76
analogous
#39981F #1F9841 #1F987D
triadic
#1F9841 #411F98 #98411F
tetradic
#1F9841 #1F3998 #981F76 #987D1F
square
#1F9841 #1F3998 #981F76 #987D1F
split-complementary
#1F9841 #7D1F98 #981F39
monochromatic
#0A3216 #15652B #1F9841 #29CB57 #55DC7B

Accessibility & contrast

On white

3.73
#1F9841 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#1F9841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9841
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9841#FFFFFF#000000##000000
##1F98411.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A39
Deuteranopia (green-blind)
#8C8048
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9841;
/* rgb */ color: rgb(31, 152, 65);
/* oklch */ color: oklch(59.7% 0.162 147.7);
Tailwind
colors: {
  custom: {
    50: '#70b778',
    500: '#1f9841',
    950: '#000000',
  },
}
SCSS
$custom: #1f9841;
$custom-light: #70b778;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9841",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 65
  },
  "hsl": {
    "h": 136.86,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.16211,
    "h": 147.7
  },
  "luminance": 0.23129
}

Semantic roles & 50–950 ramp

primary
#1F9841
secondary
#C053A1
accent
#3FB9E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9841

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

Preview Lab → · Contrast checker → · Palette generator →

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