#1F891A#1F891A

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

Color values

HEX#1F891A
RGBrgb(31, 137, 26)
HSLhsl(117, 68%, 32%)
HSVhsv(117, 81%, 54%)
CMYKcmyk(77.4%, 0%, 81%, 46.3%)
CIE-LABlab(49.81, -50.01, 47.03)
CIE-LCHlch(49.81, 68.65, 136.76°)
OKLaboklab(55.09% -0.136 0.1049)
OKLCHoklch(55.09% 0.172 142.4)
XYZxyz(9.6966, 18.2561, 3.9898)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F891A #841A89
analogous
#57891A #1F891A #1A894C
triadic
#1F891A #1A1F89 #891A1F
tetradic
#1F891A #1A5789 #841A89 #894C1A
square
#1F891A #1A5789 #841A89 #894C1A
split-complementary
#1F891A #4C1A89 #891A57
monochromatic
#082206 #135610 #1F891A #2BBC24 #49DB42

Accessibility & contrast

On white

4.51
#1F891A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F891A#FFFFFF#000000##000000
##1F891A1.004.514.654.65
#FFFFFF4.511.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: #1f891a;
/* rgb */ color: rgb(31, 137, 26);
/* oklch */ color: oklch(55.1% 0.172 142.4);
Tailwind
colors: {
  custom: {
    50: '#6eac60',
    500: '#1f891a',
    950: '#000000',
  },
}
SCSS
$custom: #1f891a;
$custom-light: #6eac60;
$custom-dark: #000000;
JSON
{
  "hex": "#1f891a",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 117.297,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55094,
    "c": 0.17175,
    "h": 142.4
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#1F891A
secondary
#B743BC
accent
#3DEBE3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1F891A

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

Preview Lab → · Contrast checker → · Palette generator →

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