#1F6014#1F6014

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

Color values

HEX#1F6014
RGBrgb(31, 96, 20)
HSLhsl(111, 66%, 23%)
HSVhsv(111, 79%, 38%)
CMYKcmyk(67.7%, 0%, 79.2%, 62.4%)
CIE-LABlab(35.41, -35.85, 35.13)
CIE-LCHlch(35.41, 50.20, 135.58°)
OKLaboklab(43.14% -0.098 0.0792)
OKLCHoklch(43.14% 0.126 141.1)
XYZxyz(4.8740, 8.7071, 2.0855)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6014 #551460
analogous
#456014 #1F6014 #14602F
triadic
#1F6014 #141F60 #60141F
tetradic
#1F6014 #144560 #551460 #602F14
square
#1F6014 #144560 #551460 #602F14
split-complementary
#1F6014 #2F1460 #601445
monochromatic
#081905 #0F2D09 #1F6014 #2F931F #40C529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6014#FFFFFF#000000##FFFFFF
##1F60141.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)
#635706
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#145D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f6014;
/* rgb */ color: rgb(31, 96, 20);
/* oklch */ color: oklch(43.1% 0.126 141.1);
Tailwind
colors: {
  custom: {
    50: '#658e57',
    500: '#1f6014',
    950: '#000000',
  },
}
SCSS
$custom: #1f6014;
$custom-light: #658e57;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6014",
  "rgb": {
    "r": 31,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 111.316,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4314,
    "c": 0.12602,
    "h": 141.1
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#1F6014
secondary
#8A3898
accent
#3FE8D0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F6014

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

Preview Lab → · Contrast checker → · Palette generator →

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