#1F6512#1F6512

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

Color values

HEX#1F6512
RGBrgb(31, 101, 18)
HSLhsl(111, 70%, 23%)
HSVhsv(111, 82%, 40%)
CMYKcmyk(69.3%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.19, -37.92, 37.63)
CIE-LCHlch(37.19, 53.42, 135.22°)
OKLaboklab(44.61% -0.1037 0.0841)
OKLCHoklch(44.61% 0.134 141)
XYZxyz(5.3277, 9.6418, 2.1524)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6512 #581265
analogous
#486512 #1F6512 #12652E
triadic
#1F6512 #121F65 #65121F
tetradic
#1F6512 #124865 #581265 #652E12
square
#1F6512 #124865 #581265 #652E12
split-complementary
#1F6512 #2E1265 #651248
monochromatic
#081A05 #0F3109 #1F6512 #2F991B #3FCD25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6512#FFFFFF#000000##FFFFFF
##1F65121.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)
#5F551C
Tritanopia (blue-blind)
#126255
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f6512;
/* rgb */ color: rgb(31, 101, 18);
/* oklch */ color: oklch(44.6% 0.134 141.0);
Tailwind
colors: {
  custom: {
    50: '#669257',
    500: '#1f6512',
    950: '#000000',
  },
}
SCSS
$custom: #1f6512;
$custom-light: #669257;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6512",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 110.602,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.13354,
    "h": 141
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F6512

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

Preview Lab → · Contrast checker → · Palette generator →

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