#1B5917#1B5917

#1B5917 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.116 H 142.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1B5917
RGBrgb(27, 89, 23)
HSLhsl(116, 59%, 22%)
HSVhsv(116, 74%, 35%)
CMYKcmyk(69.7%, 0%, 74.2%, 65.1%)
CIE-LABlab(32.79, -33.82, 31.12)
CIE-LCHlch(32.79, 45.95, 137.38°)
OKLaboklab(40.94% -0.0921 0.0713)
OKLCHoklch(40.94% 0.116 142.3)
XYZxyz(4.1788, 7.4392, 2.0261)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5917 #551759
analogous
#3C5917 #1B5917 #175934
triadic
#1B5917 #171B59 #59171B
tetradic
#1B5917 #173C59 #551759 #593417
square
#1B5917 #173C59 #551759 #593417
split-complementary
#1B5917 #341759 #59173C
monochromatic
#071806 #0C280A #1B5917 #2A8A24 #39BA30

Accessibility & contrast

On white

8.44
#1B5917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B5917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5917
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5917#FFFFFF#000000##FFFFFF
##1B59171.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500D
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#0E564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b5917;
/* rgb */ color: rgb(27, 89, 23);
/* oklch */ color: oklch(40.9% 0.116 142.3);
Tailwind
colors: {
  custom: {
    50: '#618958',
    500: '#1b5917',
    950: '#000000',
  },
}
SCSS
$custom: #1b5917;
$custom-light: #618958;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5917",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 116.364,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.11644,
    "h": 142.3
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#1B5917
secondary
#8B3C90
accent
#46E2D9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1B5917

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

Preview Lab → · Contrast checker → · Palette generator →

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