#1F6514#1F6514

#1F6514 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.6% C 0.132 H 141.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#1F6514
RGBrgb(31, 101, 20)
HSLhsl(112, 67%, 24%)
HSVhsv(112, 80%, 40%)
CMYKcmyk(69.3%, 0%, 80.2%, 60.4%)
CIE-LABlab(37.20, -37.77, 36.91)
CIE-LCHlch(37.20, 52.81, 135.66°)
OKLaboklab(44.62% -0.1032 0.0829)
OKLCHoklch(44.62% 0.132 141.2)
XYZxyz(5.3447, 9.6486, 2.2424)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6514 #5A1465
analogous
#476514 #1F6514 #146531
triadic
#1F6514 #141F65 #65141F
tetradic
#1F6514 #144765 #5A1465 #653114
square
#1F6514 #144765 #5A1465 #653114
split-complementary
#1F6514 #311465 #651447
monochromatic
#081A05 #0F320A #1F6514 #2F981E #3ECB28

Accessibility & contrast

On white

7.17
#1F6514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1F6514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6514
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6514#FFFFFF#000000##FFFFFF
##1F65141.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B03
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#126256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f6514;
/* rgb */ color: rgb(31, 101, 20);
/* oklch */ color: oklch(44.6% 0.132 141.2);
Tailwind
colors: {
  custom: {
    50: '#669258',
    500: '#1f6514',
    950: '#000000',
  },
}
SCSS
$custom: #1f6514;
$custom-light: #669258;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6514",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 111.852,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44623,
    "c": 0.13239,
    "h": 141.2
  },
  "luminance": 0.09649
}

Semantic roles & 50–950 ramp

primary
#1F6514
secondary
#8F399C
accent
#3EEAD3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6514

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

Preview Lab → · Contrast checker → · Palette generator →

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