#1F7616#1F7616

#1F7616 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.152 H 141.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#1F7616
RGBrgb(31, 118, 22)
HSLhsl(114, 69%, 27%)
HSVhsv(114, 81%, 46%)
CMYKcmyk(73.7%, 0%, 81.4%, 53.7%)
CIE-LABlab(43.22, -43.82, 42.05)
CIE-LCHlch(43.22, 60.73, 136.18°)
OKLaboklab(49.61% -0.1194 0.0939)
OKLCHoklch(49.61% 0.152 141.8)
XYZxyz(7.1879, 13.3053, 2.9483)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7616 #6D1676
analogous
#4F7616 #1F7616 #16763D
triadic
#1F7616 #161F76 #76161F
tetradic
#1F7616 #164F76 #6D1676 #763D16
square
#1F7616 #164F76 #6D1676 #763D16
split-complementary
#1F7616 #3D1676 #76164F
monochromatic
#071A05 #11420C #1F7616 #2DAA20 #3ED82E

Accessibility & contrast

On white

5.74
#1F7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#1F7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7616
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7616#FFFFFF#000000##FFFFFF
##1F76161.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#067264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7616;
/* rgb */ color: rgb(31, 118, 22);
/* oklch */ color: oklch(49.6% 0.152 141.8);
Tailwind
colors: {
  custom: {
    50: '#6a9e5c',
    500: '#1f7616',
    950: '#000000',
  },
}
SCSS
$custom: #1f7616;
$custom-light: #6a9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7616",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 114.375,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49615,
    "c": 0.15193,
    "h": 141.8
  },
  "luminance": 0.13306
}

Semantic roles & 50–950 ramp

primary
#1F7616
secondary
#A13CAC
accent
#3CEBDB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7616

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

Preview Lab → · Contrast checker → · Palette generator →

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