#1B5937#1B5937

#1B5937 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.085 H 155.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1B5937
RGBrgb(27, 89, 55)
HSLhsl(147, 53%, 23%)
HSVhsv(147, 70%, 35%)
CMYKcmyk(69.7%, 0%, 38.2%, 65.1%)
CIE-LABlab(33.25, -28.59, 14.05)
CIE-LCHlch(33.25, 31.85, 153.82°)
OKLaboklab(41.47% -0.0775 0.0353)
OKLCHoklch(41.47% 0.085 155.5)
XYZxyz(4.7135, 7.6531, 4.8425)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5937 #591B3D
analogous
#1E591B #1B5937 #1B5956
triadic
#1B5937 #371B59 #59371B
tetradic
#1B5937 #1B1E59 #591B3D #59561B
square
#1B5937 #1B1E59 #591B3D #59561B
split-complementary
#1B5937 #561B59 #591B1E
monochromatic
#07170F #0D2A1A #1B5937 #298854 #37B771

Accessibility & contrast

On white

8.30
#1B5937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1B5937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5937
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5937#FFFFFF#000000##FFFFFF
##1B59371.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595235
Deuteranopia (green-blind)
#514C39
Tritanopia (blue-blind)
#005850
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b5937;
/* rgb */ color: rgb(27, 89, 55);
/* oklch */ color: oklch(41.5% 0.085 155.5);
Tailwind
colors: {
  custom: {
    50: '#60886e',
    500: '#1b5937',
    950: '#000000',
  },
}
SCSS
$custom: #1b5937;
$custom-light: #60886e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5937",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 55
  },
  "hsl": {
    "h": 147.097,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.08516,
    "h": 155.5
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#1B5937
secondary
#8F416C
accent
#4B9BDD
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B07
muted
#797C7A

Preview Lab

Preview with #1B5937

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

Preview Lab → · Contrast checker → · Palette generator →

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