#1F6D17#1F6D17

#1F6D17 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.141 H 141.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#1F6D17
RGBrgb(31, 109, 23)
HSLhsl(114, 65%, 26%)
HSVhsv(114, 79%, 43%)
CMYKcmyk(71.6%, 0%, 78.9%, 57.3%)
CIE-LABlab(40.06, -40.51, 38.60)
CIE-LCHlch(40.06, 55.96, 136.38°)
OKLaboklab(47% -0.1104 0.0869)
OKLCHoklch(47% 0.141 141.8)
XYZxyz(6.1880, 11.2898, 2.6635)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6D17 #65176D
analogous
#4A6D17 #1F6D17 #176D3A
triadic
#1F6D17 #171F6D #6D171F
tetradic
#1F6D17 #174A6D #65176D #6D3A17
square
#1F6D17 #174A6D #65176D #6D3A17
split-complementary
#1F6D17 #3A176D #6D174A
monochromatic
#071905 #113A0C #1F6D17 #2DA022 #3CD22C

Accessibility & contrast

On white

6.45
#1F6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#1F6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6D17
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6D17#FFFFFF#000000##FFFFFF
##1F6D171.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706205
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#0D695D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f6d17;
/* rgb */ color: rgb(31, 109, 23);
/* oklch */ color: oklch(47.0% 0.141 141.8);
Tailwind
colors: {
  custom: {
    50: '#67985b',
    500: '#1f6d17',
    950: '#000000',
  },
}
SCSS
$custom: #1f6d17;
$custom-light: #67985b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6d17",
  "rgb": {
    "r": 31,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 114.419,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.14054,
    "h": 141.8
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#1F6D17
secondary
#993DA3
accent
#40E8D8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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