#1F974F#1F974F

#1F974F is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.148 H 151.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1F974F
RGBrgb(31, 151, 79)
HSLhsl(144, 66%, 36%)
HSVhsv(144, 79%, 59%)
CMYKcmyk(79.5%, 0%, 47.7%, 40.8%)
CIE-LABlab(55.06, -48.40, 28.96)
CIE-LCHlch(55.06, 56.40, 149.11°)
OKLaboklab(59.63% -0.13 0.0709)
OKLCHoklch(59.63% 0.148 151.4)
XYZxyz(13.0418, 22.9875, 11.1453)
Luminance0.2299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F974F #971F67
analogous
#2B971F #1F974F #1F978B
triadic
#1F974F #4F1F97 #974F1F
tetradic
#1F974F #1F2B97 #971F67 #978B1F
square
#1F974F #1F2B97 #971F67 #978B1F
split-complementary
#1F974F #8B1F97 #971F2B
monochromatic
#0A311A #156434 #1F974F #29CA6A #54DC8B

Accessibility & contrast

On white

3.75
#1F974F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#1F974F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F974F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F974F#FFFFFF#000000##000000
##1F974F1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#8A8054
Tritanopia (blue-blind)
#009586
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f974f;
/* rgb */ color: rgb(31, 151, 79);
/* oklch */ color: oklch(59.6% 0.148 151.4);
Tailwind
colors: {
  custom: {
    50: '#70b781',
    500: '#1f974f',
    950: '#000000',
  },
}
SCSS
$custom: #1f974f;
$custom-light: #70b781;
$custom-dark: #000000;
JSON
{
  "hex": "#1f974f",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 79
  },
  "hsl": {
    "h": 144,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.1481,
    "h": 151.4
  },
  "luminance": 0.22989
}

Semantic roles & 50–950 ramp

primary
#1F974F
secondary
#BF5294
accent
#3FA5E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F974F

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

Preview Lab → · Contrast checker → · Palette generator →

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