#1F975A#1F975A

#1F975A is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.8% C 0.138 H 155.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#1F975A
RGBrgb(31, 151, 90)
HSLhsl(150, 66%, 36%)
HSVhsv(150, 79%, 59%)
CMYKcmyk(79.5%, 0%, 40.4%, 40.8%)
CIE-LABlab(55.24, -46.34, 23.26)
CIE-LCHlch(55.24, 51.85, 153.34°)
OKLaboklab(59.83% -0.1249 0.058)
OKLCHoklch(59.83% 0.138 155.1)
XYZxyz(13.4758, 23.1611, 13.4312)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F975A #971F5C
analogous
#20971F #1F975A #1F9796
triadic
#1F975A #5A1F97 #975A1F
tetradic
#1F975A #1F2097 #971F5C #97961F
square
#1F975A #1F2097 #971F5C #97961F
split-complementary
#1F975A #961F97 #971F20
monochromatic
#0A311D #15643C #1F975A #29CA78 #54DC97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F975A#FFFFFF#000000##000000
##1F975A1.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)
#968A56
Deuteranopia (green-blind)
#88805E
Tritanopia (blue-blind)
#009588
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f975a;
/* rgb */ color: rgb(31, 151, 90);
/* oklch */ color: oklch(59.8% 0.138 155.1);
Tailwind
colors: {
  custom: {
    50: '#6fb789',
    500: '#1f975a',
    950: '#000000',
  },
}
SCSS
$custom: #1f975a;
$custom-light: #6fb789;
$custom-dark: #000000;
JSON
{
  "hex": "#1f975a",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 90
  },
  "hsl": {
    "h": 149.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59833,
    "c": 0.13767,
    "h": 155.1
  },
  "luminance": 0.23163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F975A

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

Preview Lab → · Contrast checker → · Palette generator →

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