#1B581A#1B581A

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

Color values

HEX#1B581A
RGBrgb(27, 88, 26)
HSLhsl(119, 54%, 22%)
HSVhsv(119, 70%, 35%)
CMYKcmyk(69.3%, 0%, 70.5%, 65.5%)
CIE-LABlab(32.45, -33.09, 29.34)
CIE-LCHlch(32.45, 44.22, 138.43°)
OKLaboklab(40.67% -0.0899 0.0679)
OKLCHoklch(40.67% 0.113 142.9)
XYZxyz(4.1279, 7.2866, 2.1660)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B581A #571A58
analogous
#3A581A #1B581A #1A5838
triadic
#1B581A #1A1B58 #581A1B
tetradic
#1B581A #1A3A58 #571A58 #58381A
square
#1B581A #1A3A58 #571A58 #58381A
split-complementary
#1B581A #381A58 #581A3A
monochromatic
#071807 #0D290C #1B581A #298728 #38B636

Accessibility & contrast

On white

8.55
#1B581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B581A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B581A#FFFFFF#000000##FFFFFF
##1B581A1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F12
Deuteranopia (green-blind)
#534A1F
Tritanopia (blue-blind)
#0E554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b581a;
/* rgb */ color: rgb(27, 88, 26);
/* oklch */ color: oklch(40.7% 0.113 142.9);
Tailwind
colors: {
  custom: {
    50: '#60885a',
    500: '#1b581a',
    950: '#000000',
  },
}
SCSS
$custom: #1b581a;
$custom-light: #60885a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b581a",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 119.032,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4067,
    "c": 0.1127,
    "h": 142.9
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#1B581A
secondary
#8D408E
accent
#4ADEDB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #1B581A

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

Preview Lab → · Contrast checker → · Palette generator →

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