#1B581E#1B581E

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

Color values

HEX#1B581E
RGBrgb(27, 88, 30)
HSLhsl(123, 53%, 23%)
HSVhsv(123, 69%, 35%)
CMYKcmyk(69.3%, 0%, 65.9%, 65.5%)
CIE-LABlab(32.49, -32.59, 27.39)
CIE-LCHlch(32.49, 42.57, 139.96°)
OKLaboklab(40.72% -0.0884 0.0642)
OKLCHoklch(40.72% 0.109 144)
XYZxyz(4.1758, 7.3058, 2.4181)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B581E #581B55
analogous
#36581B #1B581E #1B583D
triadic
#1B581E #1E1B58 #581E1B
tetradic
#1B581E #1B3658 #581B55 #583D1B
square
#1B581E #1B3658 #581B55 #583D1B
split-complementary
#1B581E #3D1B58 #581B36
monochromatic
#071708 #0D290E #1B581E #29872E #38B63E

Accessibility & contrast

On white

8.53
#1B581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B581E
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B581E#FFFFFF#000000##FFFFFF
##1B581E1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5018
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#0D554C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b581e;
/* rgb */ color: rgb(27, 88, 30);
/* oklch */ color: oklch(40.7% 0.109 144.0);
Tailwind
colors: {
  custom: {
    50: '#60885c',
    500: '#1b581e',
    950: '#000000',
  },
}
SCSS
$custom: #1b581e;
$custom-light: #60885c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b581e",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 122.951,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.40719,
    "c": 0.10924,
    "h": 144
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#1B581E
secondary
#8E418A
accent
#4BD5DC
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1B581E

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

Preview Lab → · Contrast checker → · Palette generator →

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