#1B581D#1B581D

#1B581D is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.110 H 143.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1B581D
RGBrgb(27, 88, 29)
HSLhsl(122, 53%, 23%)
HSVhsv(122, 69%, 35%)
CMYKcmyk(69.3%, 0%, 67%, 65.5%)
CIE-LABlab(32.48, -32.72, 27.89)
CIE-LCHlch(32.48, 43.00, 139.56°)
OKLaboklab(40.71% -0.0888 0.0652)
OKLCHoklch(40.71% 0.11 143.7)
XYZxyz(4.1632, 7.3007, 2.3519)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B581D #581B56
analogous
#38581B #1B581D #1B583B
triadic
#1B581D #1D1B58 #581D1B
tetradic
#1B581D #1B3858 #581B56 #583B1B
square
#1B581D #1B3858 #581B56 #583B1B
split-complementary
#1B581D #3B1B58 #581B38
monochromatic
#071708 #0D290E #1B581D #29872C #38B63C

Accessibility & contrast

On white

8.54
#1B581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1B581D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B581D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B581D#FFFFFF#000000##FFFFFF
##1B581D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5016
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#0D554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b581d;
/* rgb */ color: rgb(27, 88, 29);
/* oklch */ color: oklch(40.7% 0.110 143.7);
Tailwind
colors: {
  custom: {
    50: '#60885b',
    500: '#1b581d',
    950: '#000000',
  },
}
SCSS
$custom: #1b581d;
$custom-light: #60885b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b581d",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 121.967,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.11013,
    "h": 143.7
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#1B581D
secondary
#8E418B
accent
#4BD8DC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #1B581D

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

Preview Lab → · Contrast checker → · Palette generator →

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