#1B5D2B#1B5D2B

#1B5D2B is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.104 H 148.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#1B5D2B
RGBrgb(27, 93, 43)
HSLhsl(135, 55%, 24%)
HSVhsv(135, 71%, 36%)
CMYKcmyk(71%, 0%, 53.8%, 63.5%)
CIE-LABlab(34.47, -32.70, 22.70)
CIE-LCHlch(34.47, 39.80, 145.23°)
OKLaboklab(42.41% -0.0882 0.055)
OKLCHoklch(42.41% 0.104 148.1)
XYZxyz(4.8020, 8.2356, 3.6216)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5D2B #5D1B4D
analogous
#2C5D1B #1B5D2B #1B5D4C
triadic
#1B5D2B #2B1B5D #5D2B1B
tetradic
#1B5D2B #1B2C5D #5D1B4D #5D4C1B
square
#1B5D2B #1B2C5D #5D1B4D #5D4C1B
split-complementary
#1B5D2B #4C1B5D #5D1B2C
monochromatic
#07180B #0D2E15 #1B5D2B #298C41 #37BC57

Accessibility & contrast

On white

7.93
#1B5D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1B5D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5D2B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5D2B#FFFFFF#000000##FFFFFF
##1B5D2B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5427
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#035B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b5d2b;
/* rgb */ color: rgb(27, 93, 43);
/* oklch */ color: oklch(42.4% 0.104 148.1);
Tailwind
colors: {
  custom: {
    50: '#618c65',
    500: '#1b5d2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b5d2b;
$custom-light: #618c65;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5d2b",
  "rgb": {
    "r": 27,
    "g": 93,
    "b": 43
  },
  "hsl": {
    "h": 134.545,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42406,
    "c": 0.10392,
    "h": 148.1
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#1B5D2B
secondary
#93417F
accent
#49BADE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1B5D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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