#1F6412#1F6412

#1F6412 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.3% C 0.132 H 140.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#1F6412
RGBrgb(31, 100, 18)
HSLhsl(110, 69%, 23%)
HSVhsv(110, 82%, 39%)
CMYKcmyk(69%, 0%, 82%, 60.8%)
CIE-LABlab(36.83, -37.54, 37.29)
CIE-LCHlch(36.83, 52.91, 135.20°)
OKLaboklab(44.31% -0.1027 0.0834)
OKLCHoklch(44.31% 0.132 140.9)
XYZxyz(5.2312, 9.4488, 2.1203)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6412 #571264
analogous
#486412 #1F6412 #12642E
triadic
#1F6412 #121F64 #64121F
tetradic
#1F6412 #124864 #571264 #642E12
square
#1F6412 #124864 #571264 #642E12
split-complementary
#1F6412 #2E1264 #641248
monochromatic
#081A05 #0F3009 #1F6412 #2F981B #3FCC25

Accessibility & contrast

On white

7.27
#1F6412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1F6412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6412
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6412#FFFFFF#000000##FFFFFF
##1F64121.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#136155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f6412;
/* rgb */ color: rgb(31, 100, 18);
/* oklch */ color: oklch(44.3% 0.132 140.9);
Tailwind
colors: {
  custom: {
    50: '#669157',
    500: '#1f6412',
    950: '#000000',
  },
}
SCSS
$custom: #1f6412;
$custom-light: #669157;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6412",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 110.488,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44312,
    "c": 0.1323,
    "h": 140.9
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#1F6412
secondary
#8C369C
accent
#3BECD0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1F6412

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

Preview Lab → · Contrast checker → · Palette generator →

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