#1F6513#1F6513

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

Color values

HEX#1F6513
RGBrgb(31, 101, 19)
HSLhsl(111, 68%, 24%)
HSVhsv(111, 81%, 40%)
CMYKcmyk(69.3%, 0%, 81.2%, 60.4%)
CIE-LABlab(37.20, -37.85, 37.28)
CIE-LCHlch(37.20, 53.12, 135.44°)
OKLaboklab(44.62% -0.1035 0.0835)
OKLCHoklch(44.62% 0.133 141.1)
XYZxyz(5.3360, 9.6451, 2.1965)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6513 #591365
analogous
#486513 #1F6513 #136530
triadic
#1F6513 #131F65 #65131F
tetradic
#1F6513 #134865 #591365 #653013
square
#1F6513 #134865 #591365 #653013
split-complementary
#1F6513 #301365 #651348
monochromatic
#081A05 #0F3109 #1F6513 #2F991D #3FCC26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6513#FFFFFF#000000##FFFFFF
##1F65131.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)
#685B02
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#126256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f6513;
/* rgb */ color: rgb(31, 101, 19);
/* oklch */ color: oklch(44.6% 0.133 141.1);
Tailwind
colors: {
  custom: {
    50: '#669258',
    500: '#1f6513',
    950: '#000000',
  },
}
SCSS
$custom: #1f6513;
$custom-light: #669258;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6513",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 111.22,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.13297,
    "h": 141.1
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#1F6513
secondary
#8E379D
accent
#3DEBD2
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1F6513

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

Preview Lab → · Contrast checker → · Palette generator →

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