#1F985B#1F985B

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

Color values

HEX#1F985B
RGBrgb(31, 152, 91)
HSLhsl(150, 66%, 36%)
HSVhsv(150, 80%, 60%)
CMYKcmyk(79.6%, 0%, 40.1%, 40.4%)
CIE-LABlab(55.59, -46.52, 23.18)
CIE-LCHlch(55.59, 51.98, 153.52°)
OKLaboklab(60.12% -0.1254 0.0578)
OKLCHoklch(60.12% 0.138 155.3)
XYZxyz(13.6803, 23.5014, 13.7107)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F985B #981F5C
analogous
#20981F #1F985B #1F9897
triadic
#1F985B #5B1F98 #985B1F
tetradic
#1F985B #1F2098 #981F5C #98971F
square
#1F985B #1F2098 #981F5C #98971F
split-complementary
#1F985B #971F98 #981F20
monochromatic
#0A321E #15653D #1F985B #29CB79 #55DC98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F985B#FFFFFF#000000##000000
##1F985B1.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)
#978B57
Deuteranopia (green-blind)
#89815F
Tritanopia (blue-blind)
#009689
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f985b;
/* rgb */ color: rgb(31, 152, 91);
/* oklch */ color: oklch(60.1% 0.138 155.3);
Tailwind
colors: {
  custom: {
    50: '#70b78a',
    500: '#1f985b',
    950: '#000000',
  },
}
SCSS
$custom: #1f985b;
$custom-light: #70b78a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f985b",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 149.752,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60125,
    "c": 0.13807,
    "h": 155.3
  },
  "luminance": 0.23503
}

Semantic roles & 50–950 ramp

primary
#1F985B
secondary
#C0538A
accent
#3F95E9
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #1F985B

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

Preview Lab → · Contrast checker → · Palette generator →

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