#1F8419#1F8419

#1F8419 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.167 H 142.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F8419
RGBrgb(31, 132, 25)
HSLhsl(117, 68%, 31%)
HSVhsv(117, 81%, 52%)
CMYKcmyk(76.5%, 0%, 81.1%, 48.2%)
CIE-LABlab(48.09, -48.41, 45.71)
CIE-LCHlch(48.09, 66.58, 136.64°)
OKLaboklab(53.66% -0.1317 0.102)
OKLCHoklch(53.66% 0.167 142.2)
XYZxyz(8.9913, 16.8630, 3.7005)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8419 #7E1984
analogous
#548419 #1F8419 #198449
triadic
#1F8419 #191F84 #84191F
tetradic
#1F8419 #195484 #7E1984 #844919
square
#1F8419 #195484 #7E1984 #844919
split-complementary
#1F8419 #491984 #841954
monochromatic
#071D06 #13510F #1F8419 #2BB723 #46DA3D

Accessibility & contrast

On white

4.80
#1F8419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#1F8419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8419
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8419#FFFFFF#000000##FFFFFF
##1F84191.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8419;
/* rgb */ color: rgb(31, 132, 25);
/* oklch */ color: oklch(53.7% 0.167 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da95f',
    500: '#1f8419',
    950: '#000000',
  },
}
SCSS
$custom: #1f8419;
$custom-light: #6da95f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8419",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 116.636,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53664,
    "c": 0.1666,
    "h": 142.2
  },
  "luminance": 0.16864
}

Semantic roles & 50–950 ramp

primary
#1F8419
secondary
#B141B8
accent
#3DEBE1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1F8419

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

Preview Lab → · Contrast checker → · Palette generator →

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