#1F6717#1F6717

#1F6717 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.133 H 141.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#1F6717
RGBrgb(31, 103, 23)
HSLhsl(114, 63%, 25%)
HSVhsv(114, 78%, 40%)
CMYKcmyk(69.9%, 0%, 77.7%, 59.6%)
CIE-LABlab(37.94, -38.28, 36.48)
CIE-LCHlch(37.94, 52.88, 136.38°)
OKLaboklab(45.24% -0.1044 0.0825)
OKLCHoklch(45.24% 0.133 141.7)
XYZxyz(5.5697, 10.0531, 2.4574)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6717 #5F1767
analogous
#476717 #1F6717 #176737
triadic
#1F6717 #171F67 #67171F
tetradic
#1F6717 #174767 #5F1767 #673717
square
#1F6717 #174767 #5F1767 #673717
split-complementary
#1F6717 #371767 #671747
monochromatic
#081906 #10350C #1F6717 #2E9922 #3DCB2D

Accessibility & contrast

On white

6.97
#1F6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1F6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6717
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6717#FFFFFF#000000##FFFFFF
##1F67171.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#106457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f6717;
/* rgb */ color: rgb(31, 103, 23);
/* oklch */ color: oklch(45.2% 0.133 141.7);
Tailwind
colors: {
  custom: {
    50: '#66935a',
    500: '#1f6717',
    950: '#000000',
  },
}
SCSS
$custom: #1f6717;
$custom-light: #66935a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6717",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 114,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45237,
    "c": 0.13305,
    "h": 141.7
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#1F6717
secondary
#943D9D
accent
#41E7D6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6717

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

Preview Lab → · Contrast checker → · Palette generator →

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