#1F8719#1F8719

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

Color values

HEX#1F8719
RGBrgb(31, 135, 25)
HSLhsl(117, 69%, 31%)
HSVhsv(117, 81%, 53%)
CMYKcmyk(77%, 0%, 81.5%, 47.1%)
CIE-LABlab(49.12, -49.42, 46.69)
CIE-LCHlch(49.12, 67.99, 136.62°)
OKLaboklab(54.52% -0.1344 0.1041)
OKLCHoklch(54.52% 0.17 142.3)
XYZxyz(9.4040, 17.6884, 3.8381)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8719 #811987
analogous
#568719 #1F8719 #19874A
triadic
#1F8719 #191F87 #87191F
tetradic
#1F8719 #195687 #811987 #874A19
square
#1F8719 #195687 #811987 #874A19
split-complementary
#1F8719 #4A1987 #871956
monochromatic
#072006 #13530F #1F8719 #2BBB23 #48DB3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8719#FFFFFF#000000##FFFFFF
##1F87191.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)
#8A7A00
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8719;
/* rgb */ color: rgb(31, 135, 25);
/* oklch */ color: oklch(54.5% 0.170 142.3);
Tailwind
colors: {
  custom: {
    50: '#6eab60',
    500: '#1f8719',
    950: '#000000',
  },
}
SCSS
$custom: #1f8719;
$custom-light: #6eab60;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8719",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 116.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54519,
    "c": 0.17,
    "h": 142.3
  },
  "luminance": 0.17689
}

Semantic roles & 50–950 ramp

primary
#1F8719
secondary
#B441BA
accent
#3CECE2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1F8719

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

Preview Lab → · Contrast checker → · Palette generator →

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