#1F891E#1F891E

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

Color values

HEX#1F891E
RGBrgb(31, 137, 30)
HSLhsl(119, 64%, 33%)
HSVhsv(119, 78%, 54%)
CMYKcmyk(77.4%, 0%, 78.1%, 46.3%)
CIE-LABlab(49.83, -49.73, 45.70)
CIE-LCHlch(49.83, 67.53, 137.42°)
OKLaboklab(55.12% -0.135 0.1027)
OKLCHoklch(55.12% 0.17 142.7)
XYZxyz(9.7445, 18.2752, 4.2420)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F891E #881E89
analogous
#55891E #1F891E #1E8952
triadic
#1F891E #1E1F89 #891E1F
tetradic
#1F891E #1E5589 #881E89 #89521E
square
#1F891E #1E5589 #881E89 #89521E
split-complementary
#1F891E #521E89 #891E55
monochromatic
#082508 #145713 #1F891E #2ABB29 #4BD74A

Accessibility & contrast

On white

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

On black

4.66
#1F891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F891E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F891E#FFFFFF#000000##000000
##1F891E1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B05
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f891e;
/* rgb */ color: rgb(31, 137, 30);
/* oklch */ color: oklch(55.1% 0.170 142.7);
Tailwind
colors: {
  custom: {
    50: '#6eac62',
    500: '#1f891e',
    950: '#000000',
  },
}
SCSS
$custom: #1f891e;
$custom-light: #6eac62;
$custom-dark: #000000;
JSON
{
  "hex": "#1f891e",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 119.439,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5512,
    "c": 0.16965,
    "h": 142.7
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#1F891E
secondary
#B949BA
accent
#41E7E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1F891E

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

Preview Lab → · Contrast checker → · Palette generator →

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