#1F6017#1F6017

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

Color values

HEX#1F6017
RGBrgb(31, 96, 23)
HSLhsl(113, 61%, 23%)
HSVhsv(113, 76%, 38%)
CMYKcmyk(67.7%, 0%, 76%, 62.4%)
CIE-LABlab(35.44, -35.59, 33.92)
CIE-LCHlch(35.44, 49.17, 136.37°)
OKLaboklab(43.17% -0.0971 0.0771)
OKLCHoklch(43.17% 0.124 141.5)
XYZxyz(4.9023, 8.7184, 2.2349)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6017 #581760
analogous
#436017 #1F6017 #176033
triadic
#1F6017 #171F60 #60171F
tetradic
#1F6017 #174360 #581760 #603317
square
#1F6017 #174360 #581760 #603317
split-complementary
#1F6017 #331760 #601743
monochromatic
#081906 #0F2F0B #1F6017 #2F9123 #3FC32F

Accessibility & contrast

On white

7.65
#1F6017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F6017
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6017#FFFFFF#000000##FFFFFF
##1F60171.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#5B511E
Tritanopia (blue-blind)
#135D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f6017;
/* rgb */ color: rgb(31, 96, 23);
/* oklch */ color: oklch(43.2% 0.124 141.5);
Tailwind
colors: {
  custom: {
    50: '#648e59',
    500: '#1f6017',
    950: '#000000',
  },
}
SCSS
$custom: #1f6017;
$custom-light: #648e59;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6017",
  "rgb": {
    "r": 31,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 113.425,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43166,
    "c": 0.12403,
    "h": 141.5
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#1F6017
secondary
#8D3C97
accent
#43E4D3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #1F6017

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

Preview Lab → · Contrast checker → · Palette generator →

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