#1F973B#1F973B

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

Color values

HEX#1F973B
RGBrgb(31, 151, 59)
HSLhsl(134, 66%, 36%)
HSVhsv(134, 79%, 59%)
CMYKcmyk(79.5%, 0%, 60.9%, 40.8%)
CIE-LABlab(54.80, -51.46, 38.76)
CIE-LCHlch(54.80, 64.42, 143.01°)
OKLaboklab(59.33% -0.1385 0.0914)
OKLCHoklch(59.33% 0.166 146.6)
XYZxyz(12.4202, 22.7388, 7.8713)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F973B #971F7B
analogous
#3F971F #1F973B #1F9777
triadic
#1F973B #3B1F97 #973B1F
tetradic
#1F973B #1F3F97 #971F7B #97771F
square
#1F973B #1F3F97 #971F7B #97771F
split-complementary
#1F973B #771F97 #971F3F
monochromatic
#0A3113 #156427 #1F973B #29CA4F #54DC74

Accessibility & contrast

On white

3.79
#1F973B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F973B#FFFFFF#000000##000000
##1F973B1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f973b;
/* rgb */ color: rgb(31, 151, 59);
/* oklch */ color: oklch(59.3% 0.166 146.6);
Tailwind
colors: {
  custom: {
    50: '#70b774',
    500: '#1f973b',
    950: '#000000',
  },
}
SCSS
$custom: #1f973b;
$custom-light: #70b774;
$custom-dark: #000000;
JSON
{
  "hex": "#1f973b",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 59
  },
  "hsl": {
    "h": 134,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5933,
    "c": 0.16593,
    "h": 146.6
  },
  "luminance": 0.2274
}

Semantic roles & 50–950 ramp

primary
#1F973B
secondary
#BF52A6
accent
#3FC1E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F973B

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

Preview Lab → · Contrast checker → · Palette generator →

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