#1B5B2C#1B5B2C

#1B5B2C is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.100 H 148.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1B5B2C
RGBrgb(27, 91, 44)
HSLhsl(136, 54%, 23%)
HSVhsv(136, 70%, 36%)
CMYKcmyk(70.3%, 0%, 51.6%, 64.3%)
CIE-LABlab(33.77, -31.67, 21.25)
CIE-LCHlch(33.77, 38.14, 146.15°)
OKLaboklab(41.83% -0.0854 0.0518)
OKLCHoklch(41.83% 0.1 148.8)
XYZxyz(4.6474, 7.8965, 3.6617)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5B2C #5B1B4A
analogous
#2A5B1B #1B5B2C #1B5B4C
triadic
#1B5B2C #2C1B5B #5B2C1B
tetradic
#1B5B2C #1B2A5B #5B1B4A #5B4C1B
square
#1B5B2C #1B2A5B #5B1B4A #5B4C1B
split-complementary
#1B5B2C #4C1B5B #5B1B2A
monochromatic
#07180B #0D2C15 #1B5B2C #298A43 #37B95A

Accessibility & contrast

On white

8.14
#1B5B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1B5B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5B2C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5B2C#FFFFFF#000000##FFFFFF
##1B5B2C1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5328
Deuteranopia (green-blind)
#544D2F
Tritanopia (blue-blind)
#045950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5b2c;
/* rgb */ color: rgb(27, 91, 44);
/* oklch */ color: oklch(41.8% 0.100 148.8);
Tailwind
colors: {
  custom: {
    50: '#608a66',
    500: '#1b5b2c',
    950: '#000000',
  },
}
SCSS
$custom: #1b5b2c;
$custom-light: #608a66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5b2c",
  "rgb": {
    "r": 27,
    "g": 91,
    "b": 44
  },
  "hsl": {
    "h": 135.938,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.0999,
    "h": 148.8
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#1B5B2C
secondary
#91417C
accent
#4AB6DE
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #1B5B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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