#1F974A#1F974A

#1F974A is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.153 H 150.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1F974A
RGBrgb(31, 151, 74)
HSLhsl(142, 66%, 36%)
HSVhsv(142, 79%, 59%)
CMYKcmyk(79.5%, 0%, 51%, 40.8%)
CIE-LABlab(54.99, -49.25, 31.49)
CIE-LCHlch(54.99, 58.46, 147.40°)
OKLaboklab(59.54% -0.1323 0.0764)
OKLCHoklch(59.54% 0.153 150)
XYZxyz(12.8666, 22.9174, 10.2226)
Luminance0.2292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F974A #971F6C
analogous
#30971F #1F974A #1F9786
triadic
#1F974A #4A1F97 #974A1F
tetradic
#1F974A #1F3097 #971F6C #97861F
square
#1F974A #1F3097 #971F6C #97861F
split-complementary
#1F974A #861F97 #971F30
monochromatic
#0A3118 #156431 #1F974A #29CA63 #54DC85

Accessibility & contrast

On white

3.76
#1F974A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#1F974A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F974A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F974A#FFFFFF#000000##000000
##1F974A1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988944
Deuteranopia (green-blind)
#8A8050
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f974a;
/* rgb */ color: rgb(31, 151, 74);
/* oklch */ color: oklch(59.5% 0.153 150.0);
Tailwind
colors: {
  custom: {
    50: '#70b77e',
    500: '#1f974a',
    950: '#000000',
  },
}
SCSS
$custom: #1f974a;
$custom-light: #70b77e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f974a",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 74
  },
  "hsl": {
    "h": 141.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59543,
    "c": 0.15276,
    "h": 150
  },
  "luminance": 0.22919
}

Semantic roles & 50–950 ramp

primary
#1F974A
secondary
#BF5298
accent
#3FACE9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F974A

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

Preview Lab → · Contrast checker → · Palette generator →

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