#1F8919#1F8919

#1F8919 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.172 H 142.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F8919
RGBrgb(31, 137, 25)
HSLhsl(117, 69%, 32%)
HSVhsv(117, 82%, 54%)
CMYKcmyk(77.4%, 0%, 81.8%, 46.3%)
CIE-LABlab(49.80, -50.08, 47.34)
CIE-LCHlch(49.80, 68.91, 136.61°)
OKLaboklab(55.09% -0.1362 0.1054)
OKLCHoklch(55.09% 0.172 142.3)
XYZxyz(9.6856, 18.2517, 3.9320)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8919 #831989
analogous
#578919 #1F8919 #19894B
triadic
#1F8919 #191F89 #89191F
tetradic
#1F8919 #195789 #831989 #894B19
square
#1F8919 #195789 #831989 #894B19
split-complementary
#1F8919 #4B1989 #891957
monochromatic
#082106 #135510 #1F8919 #2BBD22 #49DC40

Accessibility & contrast

On white

4.52
#1F8919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#1F8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8919
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8919#FFFFFF#000000##000000
##1F89191.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8919;
/* rgb */ color: rgb(31, 137, 25);
/* oklch */ color: oklch(55.1% 0.172 142.3);
Tailwind
colors: {
  custom: {
    50: '#6eac60',
    500: '#1f8919',
    950: '#000000',
  },
}
SCSS
$custom: #1f8919;
$custom-light: #6eac60;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8919",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 116.786,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.17224,
    "h": 142.3
  },
  "luminance": 0.18253
}

Semantic roles & 50–950 ramp

primary
#1F8919
secondary
#B641BC
accent
#3CECE3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1F8919

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

Preview Lab → · Contrast checker → · Palette generator →

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