#1F985A#1F985A

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

Color values

HEX#1F985A
RGBrgb(31, 152, 90)
HSLhsl(149, 66%, 36%)
HSVhsv(149, 80%, 60%)
CMYKcmyk(79.6%, 0%, 40.8%, 40.4%)
CIE-LABlab(55.57, -46.72, 23.70)
CIE-LCHlch(55.57, 52.39, 153.10°)
OKLaboklab(60.11% -0.1259 0.059)
OKLCHoklch(60.11% 0.139 154.9)
XYZxyz(13.6375, 23.4843, 13.4851)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F985A #981F5D
analogous
#21981F #1F985A #1F9896
triadic
#1F985A #5A1F98 #985A1F
tetradic
#1F985A #1F2198 #981F5D #98961F
square
#1F985A #1F2198 #981F5D #98961F
split-complementary
#1F985A #961F98 #981F21
monochromatic
#0A321E #15653C #1F985A #29CB78 #55DC97

Accessibility & contrast

On white

3.69
#1F985A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F985A#FFFFFF#000000##000000
##1F985A1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B56
Deuteranopia (green-blind)
#89815E
Tritanopia (blue-blind)
#009689
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f985a;
/* rgb */ color: rgb(31, 152, 90);
/* oklch */ color: oklch(60.1% 0.139 154.9);
Tailwind
colors: {
  custom: {
    50: '#70b789',
    500: '#1f985a',
    950: '#000000',
  },
}
SCSS
$custom: #1f985a;
$custom-light: #70b789;
$custom-dark: #000000;
JSON
{
  "hex": "#1f985a",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 90
  },
  "hsl": {
    "h": 149.256,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60105,
    "c": 0.13902,
    "h": 154.9
  },
  "luminance": 0.23486
}

Semantic roles & 50–950 ramp

primary
#1F985A
secondary
#C0538B
accent
#3F96E9
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #1F985A

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

Preview Lab → · Contrast checker → · Palette generator →

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