#1F6F14#1F6F14

#1F6F14 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.145 H 141.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#1F6F14
RGBrgb(31, 111, 20)
HSLhsl(113, 69%, 26%)
HSVhsv(113, 82%, 44%)
CMYKcmyk(72.1%, 0%, 82%, 56.5%)
CIE-LABlab(40.75, -41.46, 40.36)
CIE-LCHlch(40.75, 57.86, 135.77°)
OKLaboklab(47.56% -0.1132 0.0901)
OKLCHoklch(47.56% 0.145 141.5)
XYZxyz(6.3754, 11.7100, 2.5860)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F14 #64146F
analogous
#4C6F14 #1F6F14 #146F36
triadic
#1F6F14 #141F6F #6F141F
tetradic
#1F6F14 #144C6F #64146F #6F3614
square
#1F6F14 #144C6F #64146F #6F3614
split-complementary
#1F6F14 #36146F #6F144C
monochromatic
#071A05 #113B0B #1F6F14 #2DA31D #3CD727

Accessibility & contrast

On white

6.28
#1F6F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#1F6F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6F14
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6F14#FFFFFF#000000##FFFFFF
##1F6F141.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#0C6B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6f14;
/* rgb */ color: rgb(31, 111, 20);
/* oklch */ color: oklch(47.6% 0.145 141.5);
Tailwind
colors: {
  custom: {
    50: '#68995a',
    500: '#1f6f14',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f14;
$custom-light: #68995a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f14",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 112.747,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47563,
    "c": 0.14466,
    "h": 141.5
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#1F6F14
secondary
#9839A6
accent
#3CECD7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F6F14

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

Preview Lab → · Contrast checker → · Palette generator →

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