#1F973C#1F973C

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

Color values

HEX#1F973C
RGBrgb(31, 151, 60)
HSLhsl(135, 66%, 36%)
HSVhsv(135, 79%, 59%)
CMYKcmyk(79.5%, 0%, 60.3%, 40.8%)
CIE-LABlab(54.81, -51.32, 38.29)
CIE-LCHlch(54.81, 64.04, 143.27°)
OKLaboklab(59.34% -0.1381 0.0905)
OKLCHoklch(59.34% 0.165 146.8)
XYZxyz(12.4463, 22.7493, 8.0092)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F973C #971F7A
analogous
#3E971F #1F973C #1F9778
triadic
#1F973C #3C1F97 #973C1F
tetradic
#1F973C #1F3E97 #971F7A #97781F
square
#1F973C #1F3E97 #971F7A #97781F
split-complementary
#1F973C #781F97 #971F3E
monochromatic
#0A3114 #156428 #1F973C #29CA50 #54DC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F973C#FFFFFF#000000##000000
##1F973C1.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)
#998933
Deuteranopia (green-blind)
#8C8043
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f973c;
/* rgb */ color: rgb(31, 151, 60);
/* oklch */ color: oklch(59.3% 0.165 146.8);
Tailwind
colors: {
  custom: {
    50: '#70b775',
    500: '#1f973c',
    950: '#000000',
  },
}
SCSS
$custom: #1f973c;
$custom-light: #70b775;
$custom-dark: #000000;
JSON
{
  "hex": "#1f973c",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 60
  },
  "hsl": {
    "h": 134.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.1651,
    "h": 146.8
  },
  "luminance": 0.22751
}

Semantic roles & 50–950 ramp

primary
#1F973C
secondary
#BF52A5
accent
#3FC0E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F973C

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

Preview Lab → · Contrast checker → · Palette generator →

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