#1B5B2D#1B5B2D

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

Color values

HEX#1B5B2D
RGBrgb(27, 91, 45)
HSLhsl(137, 54%, 23%)
HSVhsv(137, 70%, 36%)
CMYKcmyk(70.3%, 0%, 50.5%, 64.3%)
CIE-LABlab(33.78, -31.50, 20.69)
CIE-LCHlch(33.78, 37.69, 146.69°)
OKLaboklab(41.85% -0.0849 0.0506)
OKLCHoklch(41.85% 0.099 149.2)
XYZxyz(4.6664, 7.9042, 3.7618)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5B2D #5B1B49
analogous
#295B1B #1B5B2D #1B5B4D
triadic
#1B5B2D #2D1B5B #5B2D1B
tetradic
#1B5B2D #1B295B #5B1B49 #5B4D1B
square
#1B5B2D #1B295B #5B1B49 #5B4D1B
split-complementary
#1B5B2D #4D1B5B #5B1B29
monochromatic
#07180C #0D2C16 #1B5B2D #298A44 #37B95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B5B2D#FFFFFF#000000##FFFFFF
##1B5B2D1.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)
#5C5329
Deuteranopia (green-blind)
#544D30
Tritanopia (blue-blind)
#035950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5b2d;
/* rgb */ color: rgb(27, 91, 45);
/* oklch */ color: oklch(41.9% 0.099 149.2);
Tailwind
colors: {
  custom: {
    50: '#608a67',
    500: '#1b5b2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b5b2d;
$custom-light: #608a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5b2d",
  "rgb": {
    "r": 27,
    "g": 91,
    "b": 45
  },
  "hsl": {
    "h": 136.875,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.09885,
    "h": 149.2
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#1B5B2D
secondary
#91417A
accent
#4AB4DE
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #1B5B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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