#1F6B16#1F6B16

#1F6B16 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.139 H 141.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#1F6B16
RGBrgb(31, 107, 22)
HSLhsl(114, 66%, 25%)
HSVhsv(114, 79%, 42%)
CMYKcmyk(71%, 0%, 79.4%, 58%)
CIE-LABlab(39.35, -39.86, 38.28)
CIE-LCHlch(39.35, 55.26, 136.16°)
OKLaboklab(46.41% -0.1087 0.0861)
OKLCHoklch(46.41% 0.139 141.6)
XYZxyz(5.9673, 10.8640, 2.5414)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6B16 #62166B
analogous
#496B16 #1F6B16 #166B37
triadic
#1F6B16 #161F6B #6B161F
tetradic
#1F6B16 #16496B #62166B #6B3716
square
#1F6B16 #16496B #62166B #6B3716
split-complementary
#1F6B16 #37166B #6B1649
monochromatic
#071905 #10380C #1F6B16 #2E9E20 #3CD12B

Accessibility & contrast

On white

6.62
#1F6B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#1F6B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6B16
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6B16#FFFFFF#000000##FFFFFF
##1F6B161.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6004
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#0E675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f6b16;
/* rgb */ color: rgb(31, 107, 22);
/* oklch */ color: oklch(46.4% 0.139 141.6);
Tailwind
colors: {
  custom: {
    50: '#67965a',
    500: '#1f6b16',
    950: '#000000',
  },
}
SCSS
$custom: #1f6b16;
$custom-light: #67965a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6b16",
  "rgb": {
    "r": 31,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 113.647,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46405,
    "c": 0.13867,
    "h": 141.6
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#1F6B16
secondary
#973BA1
accent
#3FE9D7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6B16

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

Preview Lab → · Contrast checker → · Palette generator →

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