#1F861E#1F861E

#1F861E is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.166 H 142.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1F861E
RGBrgb(31, 134, 30)
HSLhsl(119, 63%, 32%)
HSVhsv(119, 78%, 53%)
CMYKcmyk(76.9%, 0%, 77.6%, 47.5%)
CIE-LABlab(48.80, -48.72, 44.68)
CIE-LCHlch(48.80, 66.11, 137.48°)
OKLaboklab(54.27% -0.1323 0.1006)
OKLCHoklch(54.27% 0.166 142.8)
XYZxyz(9.3239, 17.4342, 4.1018)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F861E #851E86
analogous
#53861E #1F861E #1E8651
triadic
#1F861E #1E1F86 #861E1F
tetradic
#1F861E #1E5386 #851E86 #86511E
square
#1F861E #1E5386 #851E86 #86511E
split-complementary
#1F861E #511E86 #861E53
monochromatic
#082208 #135413 #1F861E #2BB829 #4AD648

Accessibility & contrast

On white

4.68
#1F861E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F861E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F861E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F861E#FFFFFF#000000##FFFFFF
##1F861E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f861e;
/* rgb */ color: rgb(31, 134, 30);
/* oklch */ color: oklch(54.3% 0.166 142.8);
Tailwind
colors: {
  custom: {
    50: '#6daa62',
    500: '#1f861e',
    950: '#000000',
  },
}
SCSS
$custom: #1f861e;
$custom-light: #6daa62;
$custom-dark: #000000;
JSON
{
  "hex": "#1f861e",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 119.423,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.16621,
    "h": 142.8
  },
  "luminance": 0.17435
}

Semantic roles & 50–950 ramp

primary
#1F861E
secondary
#B747B8
accent
#41E6E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1F861E

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

Preview Lab → · Contrast checker → · Palette generator →

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