#1F971E#1F971E

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

Color values

HEX#1F971E
RGBrgb(31, 151, 30)
HSLhsl(120, 67%, 35%)
HSVhsv(120, 80%, 59%)
CMYKcmyk(79.5%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.57, -54.30, 50.30)
CIE-LCHlch(54.57, 74.01, 137.19°)
OKLaboklab(59.06% -0.1474 0.1123)
OKLCHoklch(59.06% 0.185 142.7)
XYZxyz(11.8653, 22.5168, 4.9489)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F971E #961E97
analogous
#5B971E #1F971E #1E9759
triadic
#1F971E #1E1F97 #971E1F
tetradic
#1F971E #1E5B97 #961E97 #97591E
square
#1F971E #1E5B97 #961E97 #97591E
split-complementary
#1F971E #591E97 #971E5B
monochromatic
#0A310A #156414 #1F971E #29CA28 #54DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F971E#FFFFFF#000000##000000
##1F971E1.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)
#8D7F2C
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f971e;
/* rgb */ color: rgb(31, 151, 30);
/* oklch */ color: oklch(59.1% 0.185 142.7);
Tailwind
colors: {
  custom: {
    50: '#72b764',
    500: '#1f971e',
    950: '#000000',
  },
}
SCSS
$custom: #1f971e;
$custom-light: #72b764;
$custom-dark: #000000;
JSON
{
  "hex": "#1f971e",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 119.504,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59064,
    "c": 0.18532,
    "h": 142.7
  },
  "luminance": 0.22518
}

Semantic roles & 50–950 ramp

primary
#1F971E
secondary
#BF51C0
accent
#3EEAE8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F971E

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

Preview Lab → · Contrast checker → · Palette generator →

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