#1F6511#1F6511

#1F6511 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.6% C 0.134 H 140.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#1F6511
RGBrgb(31, 101, 17)
HSLhsl(110, 71%, 23%)
HSVhsv(110, 83%, 40%)
CMYKcmyk(69.3%, 0%, 83.2%, 60.4%)
CIE-LABlab(37.19, -37.99, 37.98)
CIE-LCHlch(37.19, 53.72, 135.01°)
OKLaboklab(44.6% -0.104 0.0847)
OKLCHoklch(44.6% 0.134 140.8)
XYZxyz(5.3197, 9.6386, 2.1103)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6511 #571165
analogous
#496511 #1F6511 #11652D
triadic
#1F6511 #111F65 #65111F
tetradic
#1F6511 #114965 #571165 #652D11
square
#1F6511 #114965 #571165 #652D11
split-complementary
#1F6511 #2D1165 #651149
monochromatic
#081A04 #0F3108 #1F6511 #2F991A #3FCE23

Accessibility & contrast

On white

7.17
#1F6511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F6511
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6511#FFFFFF#000000##FFFFFF
##1F65111.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#60551B
Tritanopia (blue-blind)
#126255
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f6511;
/* rgb */ color: rgb(31, 101, 17);
/* oklch */ color: oklch(44.6% 0.134 140.8);
Tailwind
colors: {
  custom: {
    50: '#669257',
    500: '#1f6511',
    950: '#000000',
  },
}
SCSS
$custom: #1f6511;
$custom-light: #669257;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6511",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 110,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44601,
    "c": 0.13409,
    "h": 140.8
  },
  "luminance": 0.09639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F6511

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

Preview Lab → · Contrast checker → · Palette generator →

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