#1F8519#1F8519

#1F8519 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.168 H 142.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1F8519
RGBrgb(31, 133, 25)
HSLhsl(117, 68%, 31%)
HSVhsv(117, 81%, 52%)
CMYKcmyk(76.7%, 0%, 81.2%, 47.8%)
CIE-LABlab(48.43, -48.75, 46.04)
CIE-LCHlch(48.43, 67.05, 136.64°)
OKLaboklab(53.95% -0.1326 0.1027)
OKLCHoklch(53.95% 0.168 142.2)
XYZxyz(9.1275, 17.1355, 3.7460)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8519 #7F1985
analogous
#558519 #1F8519 #198549
triadic
#1F8519 #191F85 #85191F
tetradic
#1F8519 #195585 #7F1985 #854919
square
#1F8519 #195585 #7F1985 #854919
split-complementary
#1F8519 #491985 #851955
monochromatic
#071E06 #13510F #1F8519 #2BB923 #46DB3E

Accessibility & contrast

On white

4.74
#1F8519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1F8519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8519
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8519#FFFFFF#000000##FFFFFF
##1F85191.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8519;
/* rgb */ color: rgb(31, 133, 25);
/* oklch */ color: oklch(53.9% 0.168 142.2);
Tailwind
colors: {
  custom: {
    50: '#6daa5f',
    500: '#1f8519',
    950: '#000000',
  },
}
SCSS
$custom: #1f8519;
$custom-light: #6daa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8519",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 116.667,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.16773,
    "h": 142.2
  },
  "luminance": 0.17137
}

Semantic roles & 50–950 ramp

primary
#1F8519
secondary
#B241B9
accent
#3DEBE2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1F8519

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

Preview Lab → · Contrast checker → · Palette generator →

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