#1F5913#1F5913

#1F5913 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.0% C 0.118 H 140.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#1F5913
RGBrgb(31, 89, 19)
HSLhsl(110, 65%, 21%)
HSVhsv(110, 79%, 35%)
CMYKcmyk(65.2%, 0%, 78.7%, 65.1%)
CIE-LABlab(32.88, -33.16, 32.99)
CIE-LCHlch(32.88, 46.78, 135.15°)
OKLaboklab(41.04% -0.0908 0.0746)
OKLCHoklch(41.04% 0.118 140.6)
XYZxyz(4.2548, 7.4827, 1.8361)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5913 #4D1359
analogous
#425913 #1F5913 #13592A
triadic
#1F5913 #131F59 #59131F
tetradic
#1F5913 #134259 #4D1359 #592A13
square
#1F5913 #134259 #4D1359 #592A13
split-complementary
#1F5913 #2A1359 #591342
monochromatic
#091905 #0D2708 #1F5913 #318B1E #42BE29

Accessibility & contrast

On white

8.41
#1F5913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1F5913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5913
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5913#FFFFFF#000000##FFFFFF
##1F59131.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5007
Deuteranopia (green-blind)
#544C1A
Tritanopia (blue-blind)
#17564B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f5913;
/* rgb */ color: rgb(31, 89, 19);
/* oklch */ color: oklch(41.0% 0.118 140.6);
Tailwind
colors: {
  custom: {
    50: '#638856',
    500: '#1f5913',
    950: '#000000',
  },
}
SCSS
$custom: #1f5913;
$custom-light: #638856;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5913",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 109.714,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.11752,
    "h": 140.6
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#1F5913
secondary
#823791
accent
#40E8CB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F5913

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

Preview Lab → · Contrast checker → · Palette generator →

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