#1F971D#1F971D

#1F971D is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.186 H 142.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#1F971D
RGBrgb(31, 151, 29)
HSLhsl(119, 68%, 35%)
HSVhsv(119, 81%, 59%)
CMYKcmyk(79.5%, 0%, 80.8%, 40.8%)
CIE-LABlab(54.57, -54.36, 50.61)
CIE-LCHlch(54.57, 74.27, 137.05°)
OKLaboklab(59.06% -0.1476 0.1128)
OKLCHoklch(59.06% 0.186 142.6)
XYZxyz(11.8527, 22.5118, 4.8827)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F971D #951D97
analogous
#5C971D #1F971D #1D9758
triadic
#1F971D #1D1F97 #971D1F
tetradic
#1F971D #1D5C97 #951D97 #97581D
square
#1F971D #1D5C97 #951D97 #97581D
split-complementary
#1F971D #581D97 #971D5C
monochromatic
#0A3009 #146413 #1F971D #2ACA27 #53DE51

Accessibility & contrast

On white

3.82
#1F971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#1F971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F971D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F971D#FFFFFF#000000##000000
##1F971D1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f971d;
/* rgb */ color: rgb(31, 151, 29);
/* oklch */ color: oklch(59.1% 0.186 142.6);
Tailwind
colors: {
  custom: {
    50: '#72b764',
    500: '#1f971d',
    950: '#000000',
  },
}
SCSS
$custom: #1f971d;
$custom-light: #72b764;
$custom-dark: #000000;
JSON
{
  "hex": "#1f971d",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 119.016,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.18581,
    "h": 142.6
  },
  "luminance": 0.22513
}

Semantic roles & 50–950 ramp

primary
#1F971D
secondary
#BF4FC0
accent
#3DEBE8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F971D

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

Preview Lab → · Contrast checker → · Palette generator →

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