#1F861D#1F861D

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

Color values

HEX#1F861D
RGBrgb(31, 134, 29)
HSLhsl(119, 64%, 32%)
HSVhsv(119, 78%, 53%)
CMYKcmyk(76.9%, 0%, 78.4%, 47.5%)
CIE-LABlab(48.80, -48.80, 45.03)
CIE-LCHlch(48.80, 66.40, 137.30°)
OKLaboklab(54.26% -0.1326 0.1012)
OKLCHoklch(54.26% 0.167 142.6)
XYZxyz(9.3114, 17.4291, 4.0356)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F861D #841D86
analogous
#54861D #1F861D #1D8650
triadic
#1F861D #1D1F86 #861D1F
tetradic
#1F861D #1D5486 #841D86 #86501D
square
#1F861D #1D5486 #841D86 #86501D
split-complementary
#1F861D #501D86 #861D54
monochromatic
#082107 #135412 #1F861D #2BB828 #49D746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F861D#FFFFFF#000000##FFFFFF
##1F861D1.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)
#897905
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f861d;
/* rgb */ color: rgb(31, 134, 29);
/* oklch */ color: oklch(54.3% 0.167 142.6);
Tailwind
colors: {
  custom: {
    50: '#6daa61',
    500: '#1f861d',
    950: '#000000',
  },
}
SCSS
$custom: #1f861d;
$custom-light: #6daa61;
$custom-dark: #000000;
JSON
{
  "hex": "#1f861d",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 118.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.16676,
    "h": 142.6
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#1F861D
secondary
#B746B9
accent
#40E7E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1F861D

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

Preview Lab → · Contrast checker → · Palette generator →

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