#1F6517#1F6517

#1F6517 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.6% C 0.131 H 141.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#1F6517
RGBrgb(31, 101, 23)
HSLhsl(114, 63%, 24%)
HSVhsv(114, 77%, 40%)
CMYKcmyk(69.3%, 0%, 77.2%, 60.4%)
CIE-LABlab(37.23, -37.52, 35.76)
CIE-LCHlch(37.23, 51.83, 136.38°)
OKLaboklab(44.65% -0.1024 0.081)
OKLCHoklch(44.65% 0.131 141.7)
XYZxyz(5.3731, 9.6600, 2.3918)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6517 #5D1765
analogous
#466517 #1F6517 #176536
triadic
#1F6517 #171F65 #65171F
tetradic
#1F6517 #174665 #5D1765 #653617
square
#1F6517 #174665 #5D1765 #653617
split-complementary
#1F6517 #361765 #651746
monochromatic
#081906 #10330C #1F6517 #2E9722 #3EC92E

Accessibility & contrast

On white

7.16
#1F6517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1F6517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6517
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6517#FFFFFF#000000##FFFFFF
##1F65171.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B09
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#116256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f6517;
/* rgb */ color: rgb(31, 101, 23);
/* oklch */ color: oklch(44.6% 0.131 141.7);
Tailwind
colors: {
  custom: {
    50: '#66925a',
    500: '#1f6517',
    950: '#000000',
  },
}
SCSS
$custom: #1f6517;
$custom-light: #66925a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6517",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 113.846,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.13051,
    "h": 141.7
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#1F6517
secondary
#923C9B
accent
#42E6D5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6517

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

Preview Lab → · Contrast checker → · Palette generator →

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