#1F7016#1F7016

#1F7016 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.145 H 141.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#1F7016
RGBrgb(31, 112, 22)
HSLhsl(114, 67%, 26%)
HSVhsv(114, 80%, 44%)
CMYKcmyk(72.3%, 0%, 80.4%, 56.1%)
CIE-LABlab(41.12, -41.68, 40.01)
CIE-LCHlch(41.12, 57.77, 136.17°)
OKLaboklab(47.87% -0.1136 0.0897)
OKLCHoklch(47.87% 0.145 141.7)
XYZxyz(6.5037, 11.9369, 2.7202)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7016 #671670
analogous
#4C7016 #1F7016 #16703A
triadic
#1F7016 #161F70 #70161F
tetradic
#1F7016 #164C70 #671670 #703A16
square
#1F7016 #164C70 #671670 #703A16
split-complementary
#1F7016 #3A1670 #70164C
monochromatic
#071A05 #113D0C #1F7016 #2DA320 #3CD52B

Accessibility & contrast

On white

6.20
#1F7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#1F7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7016
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7016#FFFFFF#000000##FFFFFF
##1F70161.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#695F20
Tritanopia (blue-blind)
#0B6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f7016;
/* rgb */ color: rgb(31, 112, 22);
/* oklch */ color: oklch(47.9% 0.145 141.7);
Tailwind
colors: {
  custom: {
    50: '#689a5b',
    500: '#1f7016',
    950: '#000000',
  },
}
SCSS
$custom: #1f7016;
$custom-light: #689a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7016",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 114,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47869,
    "c": 0.14477,
    "h": 141.7
  },
  "luminance": 0.11938
}

Semantic roles & 50–950 ramp

primary
#1F7016
secondary
#9B3CA6
accent
#3EEAD9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7016

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

Preview Lab → · Contrast checker → · Palette generator →

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