#1F974B#1F974B

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

Color values

HEX#1F974B
RGBrgb(31, 151, 75)
HSLhsl(142, 66%, 36%)
HSVhsv(142, 79%, 59%)
CMYKcmyk(79.5%, 0%, 50.3%, 40.8%)
CIE-LABlab(55.00, -49.08, 30.99)
CIE-LCHlch(55.00, 58.05, 147.73°)
OKLaboklab(59.56% -0.1318 0.0753)
OKLCHoklch(59.56% 0.152 150.3)
XYZxyz(12.9006, 22.9310, 10.4015)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F974B #971F6B
analogous
#2F971F #1F974B #1F9787
triadic
#1F974B #4B1F97 #974B1F
tetradic
#1F974B #1F2F97 #971F6B #97871F
square
#1F974B #1F2F97 #971F6B #97871F
split-complementary
#1F974B #871F97 #971F2F
monochromatic
#0A3119 #156432 #1F974B #29CA64 #54DC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F974B#FFFFFF#000000##000000
##1F974B1.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)
#988945
Deuteranopia (green-blind)
#8A8051
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f974b;
/* rgb */ color: rgb(31, 151, 75);
/* oklch */ color: oklch(59.6% 0.152 150.3);
Tailwind
colors: {
  custom: {
    50: '#70b77f',
    500: '#1f974b',
    950: '#000000',
  },
}
SCSS
$custom: #1f974b;
$custom-light: #70b77f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f974b",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 75
  },
  "hsl": {
    "h": 142,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.15184,
    "h": 150.3
  },
  "luminance": 0.22933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F974B

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

Preview Lab → · Contrast checker → · Palette generator →

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