#1F9858#1F9858

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

Color values

HEX#1F9858
RGBrgb(31, 152, 88)
HSLhsl(148, 66%, 36%)
HSVhsv(148, 80%, 60%)
CMYKcmyk(79.6%, 0%, 42.1%, 40.4%)
CIE-LABlab(55.53, -47.11, 24.74)
CIE-LCHlch(55.53, 53.22, 152.29°)
OKLaboklab(60.07% -0.1268 0.0614)
OKLCHoklch(60.07% 0.141 154.2)
XYZxyz(13.5535, 23.4507, 13.0428)
Luminance0.2345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9858 #981F5F
analogous
#23981F #1F9858 #1F9894
triadic
#1F9858 #581F98 #98581F
tetradic
#1F9858 #1F2398 #981F5F #98941F
square
#1F9858 #1F2398 #981F5F #98941F
split-complementary
#1F9858 #941F98 #981F23
monochromatic
#0A321D #15653B #1F9858 #29CB75 #55DC95

Accessibility & contrast

On white

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

On black

5.69
#1F9858 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9858
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9858#FFFFFF#000000##000000
##1F98581.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B53
Deuteranopia (green-blind)
#8A815C
Tritanopia (blue-blind)
#009688
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9858;
/* rgb */ color: rgb(31, 152, 88);
/* oklch */ color: oklch(60.1% 0.141 154.2);
Tailwind
colors: {
  custom: {
    50: '#70b788',
    500: '#1f9858',
    950: '#000000',
  },
}
SCSS
$custom: #1f9858;
$custom-light: #70b788;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9858",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 88
  },
  "hsl": {
    "h": 148.264,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.14091,
    "h": 154.2
  },
  "luminance": 0.23452
}

Semantic roles & 50–950 ramp

primary
#1F9858
secondary
#C0538D
accent
#3F99E9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #1F9858

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

Preview Lab → · Contrast checker → · Palette generator →

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