#1F8716#1F8716

#1F8716 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.171 H 142.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1F8716
RGBrgb(31, 135, 22)
HSLhsl(115, 72%, 31%)
HSVhsv(115, 84%, 53%)
CMYKcmyk(77%, 0%, 83.7%, 47.1%)
CIE-LABlab(49.10, -49.60, 47.60)
CIE-LCHlch(49.10, 68.75, 136.18°)
OKLaboklab(54.5% -0.1351 0.1055)
OKLCHoklch(54.5% 0.171 142)
XYZxyz(9.3733, 17.6761, 3.6767)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8716 #7E1687
analogous
#578716 #1F8716 #168745
triadic
#1F8716 #161F87 #87161F
tetradic
#1F8716 #165787 #7E1687 #874516
square
#1F8716 #165787 #7E1687 #874516
split-complementary
#1F8716 #451687 #871657
monochromatic
#071E05 #13520D #1F8716 #2BBC1F #46DF39

Accessibility & contrast

On white

4.63
#1F8716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1F8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8716
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8716#FFFFFF#000000##FFFFFF
##1F87161.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8716;
/* rgb */ color: rgb(31, 135, 22);
/* oklch */ color: oklch(54.5% 0.171 142.0);
Tailwind
colors: {
  custom: {
    50: '#6eab5e',
    500: '#1f8716',
    950: '#000000',
  },
}
SCSS
$custom: #1f8716;
$custom-light: #6eab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8716",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 115.221,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.1714,
    "h": 142
  },
  "luminance": 0.17677
}

Semantic roles & 50–950 ramp

primary
#1F8716
secondary
#B13EBB
accent
#39EFE0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1F8716

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

Preview Lab → · Contrast checker → · Palette generator →

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