#1B5A2B#1B5A2B

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

Color values

HEX#1B5A2B
RGBrgb(27, 90, 43)
HSLhsl(135, 54%, 23%)
HSVhsv(135, 70%, 35%)
CMYKcmyk(70%, 0%, 52.2%, 64.7%)
CIE-LABlab(33.39, -31.43, 21.35)
CIE-LCHlch(33.39, 37.99, 145.81°)
OKLaboklab(41.52% -0.0848 0.052)
OKLCHoklch(41.52% 0.099 148.5)
XYZxyz(4.5439, 7.7193, 3.5355)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5A2B #5A1B4A
analogous
#2A5A1B #1B5A2B #1B5A4A
triadic
#1B5A2B #2B1B5A #5A2B1B
tetradic
#1B5A2B #1B2A5A #5A1B4A #5A4A1B
square
#1B5A2B #1B2A5A #5A1B4A #5A4A1B
split-complementary
#1B5A2B #4A1B5A #5A1B2A
monochromatic
#07180B #0D2B15 #1B5A2B #298941 #37B858

Accessibility & contrast

On white

8.25
#1B5A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1B5A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5A2B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5A2B#FFFFFF#000000##FFFFFF
##1B5A2B1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5227
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#05584F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5a2b;
/* rgb */ color: rgb(27, 90, 43);
/* oklch */ color: oklch(41.5% 0.099 148.5);
Tailwind
colors: {
  custom: {
    50: '#608965',
    500: '#1b5a2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b5a2b;
$custom-light: #608965;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5a2b",
  "rgb": {
    "r": 27,
    "g": 90,
    "b": 43
  },
  "hsl": {
    "h": 135.238,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41517,
    "c": 0.09943,
    "h": 148.5
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#1B5A2B
secondary
#90417C
accent
#4BB8DD
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #1B5A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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