#1F6417#1F6417

#1F6417 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.129 H 141.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#1F6417
RGBrgb(31, 100, 23)
HSLhsl(114, 63%, 24%)
HSVhsv(114, 77%, 39%)
CMYKcmyk(69%, 0%, 77%, 60.8%)
CIE-LABlab(36.87, -37.14, 35.39)
CIE-LCHlch(36.87, 51.30, 136.38°)
OKLaboklab(44.35% -0.1013 0.0802)
OKLCHoklch(44.35% 0.129 141.6)
XYZxyz(5.2766, 9.4670, 2.3597)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6417 #5C1764
analogous
#466417 #1F6417 #176436
triadic
#1F6417 #171F64 #64171F
tetradic
#1F6417 #174664 #5C1764 #643617
square
#1F6417 #174664 #5C1764 #643617
split-complementary
#1F6417 #361764 #641746
monochromatic
#081906 #10320C #1F6417 #2E9622 #3EC82E

Accessibility & contrast

On white

7.26
#1F6417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1F6417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6417
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6417#FFFFFF#000000##FFFFFF
##1F64171.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A09
Deuteranopia (green-blind)
#5E551F
Tritanopia (blue-blind)
#126155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f6417;
/* rgb */ color: rgb(31, 100, 23);
/* oklch */ color: oklch(44.4% 0.129 141.6);
Tailwind
colors: {
  custom: {
    50: '#659159',
    500: '#1f6417',
    950: '#000000',
  },
}
SCSS
$custom: #1f6417;
$custom-light: #659159;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6417",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 113.766,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44351,
    "c": 0.12922,
    "h": 141.6
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#1F6417
secondary
#913C9A
accent
#42E6D5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6417

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

Preview Lab → · Contrast checker → · Palette generator →

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