#1F6811#1F6811

#1F6811 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.138 H 140.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#1F6811
RGBrgb(31, 104, 17)
HSLhsl(110, 72%, 24%)
HSVhsv(110, 84%, 41%)
CMYKcmyk(70.2%, 0%, 83.7%, 59.2%)
CIE-LABlab(38.26, -39.11, 38.99)
CIE-LCHlch(38.26, 55.23, 135.09°)
OKLaboklab(45.49% -0.107 0.0868)
OKLCHoklch(45.49% 0.138 140.9)
XYZxyz(5.6163, 10.2318, 2.2092)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6811 #5A1168
analogous
#4A6811 #1F6811 #11682E
triadic
#1F6811 #111F68 #68111F
tetradic
#1F6811 #114A68 #5A1168 #682E11
square
#1F6811 #114A68 #5A1168 #682E11
split-complementary
#1F6811 #2E1168 #68114A
monochromatic
#081A04 #0F3308 #1F6811 #2F9D1A #3ED122

Accessibility & contrast

On white

6.89
#1F6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1F6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6811
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6811#FFFFFF#000000##FFFFFF
##1F68111.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#116458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f6811;
/* rgb */ color: rgb(31, 104, 17);
/* oklch */ color: oklch(45.5% 0.138 140.9);
Tailwind
colors: {
  custom: {
    50: '#679457',
    500: '#1f6811',
    950: '#000000',
  },
}
SCSS
$custom: #1f6811;
$custom-light: #679457;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6811",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 110.345,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.13777,
    "h": 140.9
  },
  "luminance": 0.10232
}

Semantic roles & 50–950 ramp

primary
#1F6811
secondary
#8F35A0
accent
#39EFD1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #1F6811

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

Preview Lab → · Contrast checker → · Palette generator →

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