#1F6712#1F6712

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

Color values

HEX#1F6712
RGBrgb(31, 103, 18)
HSLhsl(111, 70%, 24%)
HSVhsv(111, 83%, 40%)
CMYKcmyk(69.9%, 0%, 82.5%, 59.6%)
CIE-LABlab(37.91, -38.67, 38.32)
CIE-LCHlch(37.91, 54.44, 135.26°)
OKLaboklab(45.2% -0.1057 0.0856)
OKLCHoklch(45.2% 0.136 141)
XYZxyz(5.5242, 10.0349, 2.2180)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6712 #5A1267
analogous
#496712 #1F6712 #12672F
triadic
#1F6712 #121F67 #67121F
tetradic
#1F6712 #124967 #5A1267 #672F12
square
#1F6712 #124967 #5A1267 #672F12
split-complementary
#1F6712 #2F1267 #671249
monochromatic
#081A05 #0F3309 #1F6712 #2F9B1B #3ECF24

Accessibility & contrast

On white

6.98
#1F6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6712
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6712#FFFFFF#000000##FFFFFF
##1F67121.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f6712;
/* rgb */ color: rgb(31, 103, 18);
/* oklch */ color: oklch(45.2% 0.136 141.0);
Tailwind
colors: {
  custom: {
    50: '#669357',
    500: '#1f6712',
    950: '#000000',
  },
}
SCSS
$custom: #1f6712;
$custom-light: #669357;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6712",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 110.824,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.13601,
    "h": 141
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#1F6712
secondary
#8F369F
accent
#3BEDD2
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #1F6712

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

Preview Lab → · Contrast checker → · Palette generator →

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