#1F6A14#1F6A14

#1F6A14 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.139 H 141.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#1F6A14
RGBrgb(31, 106, 20)
HSLhsl(112, 68%, 25%)
HSVhsv(112, 81%, 42%)
CMYKcmyk(70.8%, 0%, 81.1%, 58.4%)
CIE-LABlab(38.98, -39.64, 38.65)
CIE-LCHlch(38.98, 55.36, 135.72°)
OKLaboklab(46.1% -0.1082 0.0866)
OKLCHoklch(46.1% 0.139 141.4)
XYZxyz(5.8451, 10.6493, 2.4092)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6A14 #5F146A
analogous
#4A6A14 #1F6A14 #146A34
triadic
#1F6A14 #141F6A #6A141F
tetradic
#1F6A14 #144A6A #5F146A #6A3414
square
#1F6A14 #144A6A #5F146A #6A3414
split-complementary
#1F6A14 #34146A #6A144A
monochromatic
#081A05 #10370A #1F6A14 #2E9D1E #3DD127

Accessibility & contrast

On white

6.71
#1F6A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#1F6A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6A14
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6A14#FFFFFF#000000##FFFFFF
##1F6A141.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F01
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#0F665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f6a14;
/* rgb */ color: rgb(31, 106, 20);
/* oklch */ color: oklch(46.1% 0.139 141.4);
Tailwind
colors: {
  custom: {
    50: '#679559',
    500: '#1f6a14',
    950: '#000000',
  },
}
SCSS
$custom: #1f6a14;
$custom-light: #679559;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6a14",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 112.326,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46097,
    "c": 0.13859,
    "h": 141.4
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

primary
#1F6A14
secondary
#9439A1
accent
#3DEBD5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6A14

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

Preview Lab → · Contrast checker → · Palette generator →

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