#1F974C#1F974C

#1F974C is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.6% C 0.151 H 150.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#1F974C
RGBrgb(31, 151, 76)
HSLhsl(143, 66%, 36%)
HSVhsv(143, 79%, 59%)
CMYKcmyk(79.5%, 0%, 49.7%, 40.8%)
CIE-LABlab(55.02, -48.92, 30.48)
CIE-LCHlch(55.02, 57.64, 148.07°)
OKLaboklab(59.58% -0.1314 0.0743)
OKLCHoklch(59.58% 0.151 150.5)
XYZxyz(12.9351, 22.9448, 10.5831)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F974C #971F6A
analogous
#2E971F #1F974C #1F9788
triadic
#1F974C #4C1F97 #974C1F
tetradic
#1F974C #1F2E97 #971F6A #97881F
square
#1F974C #1F2E97 #971F6A #97881F
split-complementary
#1F974C #881F97 #971F2E
monochromatic
#0A3119 #156432 #1F974C #29CA66 #54DC87

Accessibility & contrast

On white

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

On black

5.59
#1F974C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F974C
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F974C#FFFFFF#000000##000000
##1F974C1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f974c;
/* rgb */ color: rgb(31, 151, 76);
/* oklch */ color: oklch(59.6% 0.151 150.5);
Tailwind
colors: {
  custom: {
    50: '#70b77f',
    500: '#1f974c',
    950: '#000000',
  },
}
SCSS
$custom: #1f974c;
$custom-light: #70b77f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f974c",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 76
  },
  "hsl": {
    "h": 142.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.15091,
    "h": 150.5
  },
  "luminance": 0.22946
}

Semantic roles & 50–950 ramp

primary
#1F974C
secondary
#BF5297
accent
#3FA9E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F974C

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

Preview Lab → · Contrast checker → · Palette generator →

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