#1F5911#1F5911

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

Color values

HEX#1F5911
RGBrgb(31, 89, 17)
HSLhsl(108, 68%, 21%)
HSVhsv(108, 81%, 35%)
CMYKcmyk(65.2%, 0%, 80.9%, 65.1%)
CIE-LABlab(32.87, -33.33, 33.78)
CIE-LCHlch(32.87, 47.45, 134.61°)
OKLaboklab(41.03% -0.0914 0.0759)
OKLCHoklch(41.03% 0.119 140.3)
XYZxyz(4.2384, 7.4761, 1.7499)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5911 #4B1159
analogous
#435911 #1F5911 #115927
triadic
#1F5911 #111F59 #59111F
tetradic
#1F5911 #114359 #4B1159 #592711
square
#1F5911 #114359 #4B1159 #592711
split-complementary
#1F5911 #271159 #591143
monochromatic
#091A05 #0D2607 #1F5911 #318C1B #43C025

Accessibility & contrast

On white

8.42
#1F5911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5911
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5911#FFFFFF#000000##FFFFFF
##1F59111.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f5911;
/* rgb */ color: rgb(31, 89, 17);
/* oklch */ color: oklch(41.0% 0.119 140.3);
Tailwind
colors: {
  custom: {
    50: '#638855',
    500: '#1f5911',
    950: '#000000',
  },
}
SCSS
$custom: #1f5911;
$custom-light: #638855;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5911",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 108.333,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41027,
    "c": 0.11882,
    "h": 140.3
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#1F5911
secondary
#803492
accent
#3DEBC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F5911

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

Preview Lab → · Contrast checker → · Palette generator →

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