#1F973D#1F973D

#1F973D is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.164 H 147.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1F973D
RGBrgb(31, 151, 61)
HSLhsl(135, 66%, 36%)
HSVhsv(135, 79%, 59%)
CMYKcmyk(79.5%, 0%, 59.6%, 40.8%)
CIE-LABlab(54.82, -51.19, 37.82)
CIE-LCHlch(54.82, 63.65, 143.54°)
OKLaboklab(59.36% -0.1377 0.0896)
OKLCHoklch(59.36% 0.164 147)
XYZxyz(12.4730, 22.7599, 8.1497)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F973D #971F79
analogous
#3D971F #1F973D #1F9779
triadic
#1F973D #3D1F97 #973D1F
tetradic
#1F973D #1F3D97 #971F79 #97791F
square
#1F973D #1F3D97 #971F79 #97791F
split-complementary
#1F973D #791F97 #971F3D
monochromatic
#0A3114 #156428 #1F973D #29CA52 #54DC76

Accessibility & contrast

On white

3.78
#1F973D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#1F973D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F973D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F973D#FFFFFF#000000##000000
##1F973D1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998934
Deuteranopia (green-blind)
#8C8044
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f973d;
/* rgb */ color: rgb(31, 151, 61);
/* oklch */ color: oklch(59.4% 0.164 147.0);
Tailwind
colors: {
  custom: {
    50: '#70b775',
    500: '#1f973d',
    950: '#000000',
  },
}
SCSS
$custom: #1f973d;
$custom-light: #70b775;
$custom-dark: #000000;
JSON
{
  "hex": "#1f973d",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 61
  },
  "hsl": {
    "h": 135,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59355,
    "c": 0.16427,
    "h": 147
  },
  "luminance": 0.22761
}

Semantic roles & 50–950 ramp

primary
#1F973D
secondary
#BF52A4
accent
#3FBEE9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F973D

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

Preview Lab → · Contrast checker → · Palette generator →

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