#1F861C#1F861C

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

Color values

HEX#1F861C
RGBrgb(31, 134, 28)
HSLhsl(118, 65%, 32%)
HSVhsv(118, 79%, 53%)
CMYKcmyk(76.9%, 0%, 79.1%, 47.5%)
CIE-LABlab(48.79, -48.87, 45.38)
CIE-LCHlch(48.79, 66.69, 137.12°)
OKLaboklab(54.25% -0.1328 0.1018)
OKLCHoklch(54.25% 0.167 142.5)
XYZxyz(9.2992, 17.4243, 3.9715)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F861C #831C86
analogous
#54861C #1F861C #1C864E
triadic
#1F861C #1C1F86 #861C1F
tetradic
#1F861C #1C5486 #831C86 #864E1C
square
#1F861C #1C5486 #831C86 #864E1C
split-complementary
#1F861C #4E1C86 #861C54
monochromatic
#082107 #135311 #1F861C #2BB927 #49D844

Accessibility & contrast

On white

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

On black

4.48
#1F861C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F861C#FFFFFF#000000##FFFFFF
##1F861C1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f861c;
/* rgb */ color: rgb(31, 134, 28);
/* oklch */ color: oklch(54.3% 0.167 142.5);
Tailwind
colors: {
  custom: {
    50: '#6daa61',
    500: '#1f861c',
    950: '#000000',
  },
}
SCSS
$custom: #1f861c;
$custom-light: #6daa61;
$custom-dark: #000000;
JSON
{
  "hex": "#1f861c",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 118.302,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.16731,
    "h": 142.5
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#1F861C
secondary
#B645B9
accent
#3FE8E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1F861C

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

Preview Lab → · Contrast checker → · Palette generator →

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