#1F6016#1F6016

#1F6016 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.2% C 0.125 H 141.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#1F6016
RGBrgb(31, 96, 22)
HSLhsl(113, 63%, 23%)
HSVhsv(113, 77%, 38%)
CMYKcmyk(67.7%, 0%, 77.1%, 62.4%)
CIE-LABlab(35.43, -35.68, 34.34)
CIE-LCHlch(35.43, 49.52, 136.10°)
OKLaboklab(43.16% -0.0974 0.0779)
OKLCHoklch(43.16% 0.125 141.4)
XYZxyz(4.8925, 8.7145, 2.1831)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6016 #571660
analogous
#446016 #1F6016 #166032
triadic
#1F6016 #161F60 #60161F
tetradic
#1F6016 #164460 #571660 #603216
square
#1F6016 #164460 #571660 #603216
split-complementary
#1F6016 #321660 #601644
monochromatic
#081906 #0F2E0B #1F6016 #2F9221 #3FC42D

Accessibility & contrast

On white

7.66
#1F6016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1F6016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6016
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6016#FFFFFF#000000##FFFFFF
##1F60161.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635709
Deuteranopia (green-blind)
#5B511E
Tritanopia (blue-blind)
#145D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f6016;
/* rgb */ color: rgb(31, 96, 22);
/* oklch */ color: oklch(43.2% 0.125 141.4);
Tailwind
colors: {
  custom: {
    50: '#648e58',
    500: '#1f6016',
    950: '#000000',
  },
}
SCSS
$custom: #1f6016;
$custom-light: #648e58;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6016",
  "rgb": {
    "r": 31,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 112.703,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43157,
    "c": 0.12471,
    "h": 141.4
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#1F6016
secondary
#8C3B97
accent
#42E6D2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #1F6016

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

Preview Lab → · Contrast checker → · Palette generator →

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