#1B5D1D#1B5D1D

#1B5D1D is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.2% C 0.117 H 143.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1B5D1D
RGBrgb(27, 93, 29)
HSLhsl(122, 55%, 24%)
HSVhsv(122, 71%, 36%)
CMYKcmyk(71%, 0%, 68.8%, 63.5%)
CIE-LABlab(34.29, -34.73, 29.92)
CIE-LCHlch(34.29, 45.84, 139.26°)
OKLaboklab(42.2% -0.0942 0.0695)
OKLCHoklch(42.2% 0.117 143.6)
XYZxyz(4.5878, 8.1499, 2.4935)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5D1D #5D1B5B
analogous
#3A5D1B #1B5D1D #1B5D3E
triadic
#1B5D1D #1D1B5D #5D1D1B
tetradic
#1B5D1D #1B3A5D #5D1B5B #5D3E1B
square
#1B5D1D #1B3A5D #5D1B5B #5D3E1B
split-complementary
#1B5D1D #3E1B5D #5D1B3A
monochromatic
#071807 #0D2E0E #1B5D1D #298C2C #37BC3B

Accessibility & contrast

On white

7.98
#1B5D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1B5D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5D1D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5D1D#FFFFFF#000000##FFFFFF
##1B5D1D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5415
Deuteranopia (green-blind)
#574F23
Tritanopia (blue-blind)
#0A5A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b5d1d;
/* rgb */ color: rgb(27, 93, 29);
/* oklch */ color: oklch(42.2% 0.117 143.6);
Tailwind
colors: {
  custom: {
    50: '#628c5c',
    500: '#1b5d1d',
    950: '#000000',
  },
}
SCSS
$custom: #1b5d1d;
$custom-light: #628c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5d1d",
  "rgb": {
    "r": 27,
    "g": 93,
    "b": 29
  },
  "hsl": {
    "h": 121.818,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42204,
    "c": 0.11707,
    "h": 143.6
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#1B5D1D
secondary
#934190
accent
#49DADE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #1B5D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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