#1F6611#1F6611

#1F6611 is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.9% C 0.135 H 140.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#1F6611
RGBrgb(31, 102, 17)
HSLhsl(110, 71%, 23%)
HSVhsv(110, 83%, 40%)
CMYKcmyk(69.6%, 0%, 83.3%, 60%)
CIE-LABlab(37.54, -38.37, 38.32)
CIE-LCHlch(37.54, 54.22, 135.04°)
OKLaboklab(44.9% -0.105 0.0854)
OKLCHoklch(44.9% 0.135 140.9)
XYZxyz(5.4173, 9.8340, 2.1429)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6611 #581166
analogous
#496611 #1F6611 #11662D
triadic
#1F6611 #111F66 #66111F
tetradic
#1F6611 #114966 #581166 #662D11
square
#1F6611 #114966 #581166 #662D11
split-complementary
#1F6611 #2D1166 #661149
monochromatic
#081A04 #0F3208 #1F6611 #2F9A1A #3FCF22

Accessibility & contrast

On white

7.08
#1F6611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1F6611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6611
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6611#FFFFFF#000000##FFFFFF
##1F66111.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#126256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f6611;
/* rgb */ color: rgb(31, 102, 17);
/* oklch */ color: oklch(44.9% 0.135 140.9);
Tailwind
colors: {
  custom: {
    50: '#669257',
    500: '#1f6611',
    950: '#000000',
  },
}
SCSS
$custom: #1f6611;
$custom-light: #669257;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6611",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 110.118,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44897,
    "c": 0.13532,
    "h": 140.9
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#1F6611
secondary
#8D359E
accent
#3AEED0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1F6611

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

Preview Lab → · Contrast checker → · Palette generator →

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