#1F6612#1F6612

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

Color values

HEX#1F6612
RGBrgb(31, 102, 18)
HSLhsl(111, 70%, 24%)
HSVhsv(111, 82%, 40%)
CMYKcmyk(69.6%, 0%, 82.4%, 60%)
CIE-LABlab(37.55, -38.30, 37.98)
CIE-LCHlch(37.55, 53.93, 135.24°)
OKLaboklab(44.9% -0.1047 0.0848)
OKLCHoklch(44.9% 0.135 141)
XYZxyz(5.4253, 9.8372, 2.1850)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6612 #591266
analogous
#496612 #1F6612 #12662F
triadic
#1F6612 #121F66 #66121F
tetradic
#1F6612 #124966 #591266 #662F12
square
#1F6612 #124966 #591266 #662F12
split-complementary
#1F6612 #2F1266 #661249
monochromatic
#081A05 #0F3209 #1F6612 #2F9A1B #3FCE24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6612#FFFFFF#000000##FFFFFF
##1F66121.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)
#60561C
Tritanopia (blue-blind)
#126356
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f6612;
/* rgb */ color: rgb(31, 102, 18);
/* oklch */ color: oklch(44.9% 0.135 141.0);
Tailwind
colors: {
  custom: {
    50: '#669257',
    500: '#1f6612',
    950: '#000000',
  },
}
SCSS
$custom: #1f6612;
$custom-light: #669257;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6612",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 110.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44904,
    "c": 0.13478,
    "h": 141
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#1F6612
secondary
#8E369E
accent
#3BEDD1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1F6612

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

Preview Lab → · Contrast checker → · Palette generator →

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