#1F9558#1F9558

#1F9558 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.137 H 154.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#1F9558
RGBrgb(31, 149, 88)
HSLhsl(149, 66%, 35%)
HSVhsv(149, 79%, 58%)
CMYKcmyk(79.2%, 0%, 40.9%, 41.6%)
CIE-LABlab(54.54, -45.97, 23.44)
CIE-LCHlch(54.54, 51.60, 152.98°)
OKLaboklab(59.25% -0.1238 0.0584)
OKLCHoklch(59.25% 0.137 154.8)
XYZxyz(13.0727, 22.4892, 12.8825)
Luminance0.2249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9558 #951F5C
analogous
#21951F #1F9558 #1F9593
triadic
#1F9558 #581F95 #95581F
tetradic
#1F9558 #1F2195 #951F5C #95931F
square
#1F9558 #1F2195 #951F5C #95931F
split-complementary
#1F9558 #931F95 #951F21
monochromatic
#0A301C #14623A #1F9558 #2AC876 #53DB95

Accessibility & contrast

On white

3.82
#1F9558 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#1F9558 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9558
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9558#FFFFFF#000000##000000
##1F95581.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958854
Deuteranopia (green-blind)
#877F5C
Tritanopia (blue-blind)
#009386
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9558;
/* rgb */ color: rgb(31, 149, 88);
/* oklch */ color: oklch(59.2% 0.137 154.8);
Tailwind
colors: {
  custom: {
    50: '#6fb588',
    500: '#1f9558',
    950: '#000000',
  },
}
SCSS
$custom: #1f9558;
$custom-light: #6fb588;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9558",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 88
  },
  "hsl": {
    "h": 148.983,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59247,
    "c": 0.13689,
    "h": 154.8
  },
  "luminance": 0.22491
}

Semantic roles & 50–950 ramp

primary
#1F9558
secondary
#BF518A
accent
#3F97E9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9558

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

Preview Lab → · Contrast checker → · Palette generator →

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