#1F6711#1F6711

#1F6711 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.137 H 140.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#1F6711
RGBrgb(31, 103, 17)
HSLhsl(110, 72%, 24%)
HSVhsv(110, 83%, 40%)
CMYKcmyk(69.9%, 0%, 83.5%, 59.6%)
CIE-LABlab(37.90, -38.74, 38.66)
CIE-LCHlch(37.90, 54.73, 135.06°)
OKLaboklab(45.19% -0.106 0.0861)
OKLCHoklch(45.19% 0.137 140.9)
XYZxyz(5.5162, 10.0317, 2.1758)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6711 #591167
analogous
#4A6711 #1F6711 #11672E
triadic
#1F6711 #111F67 #67111F
tetradic
#1F6711 #114A67 #591167 #672E11
square
#1F6711 #114A67 #591167 #672E11
split-complementary
#1F6711 #2E1167 #67114A
monochromatic
#081A04 #0F3208 #1F6711 #2F9C1A #3FD022

Accessibility & contrast

On white

6.99
#1F6711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1F6711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6711
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6711#FFFFFF#000000##FFFFFF
##1F67111.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#116357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f6711;
/* rgb */ color: rgb(31, 103, 17);
/* oklch */ color: oklch(45.2% 0.137 140.9);
Tailwind
colors: {
  custom: {
    50: '#669357',
    500: '#1f6711',
    950: '#000000',
  },
}
SCSS
$custom: #1f6711;
$custom-light: #669357;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6711",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 110.233,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.13655,
    "h": 140.9
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#1F6711
secondary
#8E359F
accent
#39EED1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #1F6711

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

Preview Lab → · Contrast checker → · Palette generator →

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