#1B5A2A#1B5A2A

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

Color values

HEX#1B5A2A
RGBrgb(27, 90, 42)
HSLhsl(134, 54%, 23%)
HSVhsv(134, 70%, 35%)
CMYKcmyk(70%, 0%, 53.3%, 64.7%)
CIE-LABlab(33.38, -31.60, 21.90)
CIE-LCHlch(33.38, 38.45, 145.27°)
OKLaboklab(41.5% -0.0853 0.0531)
OKLCHoklch(41.5% 0.1 148.1)
XYZxyz(4.5257, 7.7120, 3.4401)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5A2A #5A1B4B
analogous
#2B5A1B #1B5A2A #1B5A49
triadic
#1B5A2A #2A1B5A #5A2A1B
tetradic
#1B5A2A #1B2B5A #5A1B4B #5A491B
square
#1B5A2A #1B2B5A #5A1B4B #5A491B
split-complementary
#1B5A2A #491B5A #5A1B2B
monochromatic
#07180B #0D2B14 #1B5A2A #298940 #37B856

Accessibility & contrast

On white

8.26
#1B5A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5A2A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5A2A#FFFFFF#000000##FFFFFF
##1B5A2A1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5226
Deuteranopia (green-blind)
#534C2D
Tritanopia (blue-blind)
#06584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b5a2a;
/* rgb */ color: rgb(27, 90, 42);
/* oklch */ color: oklch(41.5% 0.100 148.1);
Tailwind
colors: {
  custom: {
    50: '#608964',
    500: '#1b5a2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b5a2a;
$custom-light: #608964;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5a2a",
  "rgb": {
    "r": 27,
    "g": 90,
    "b": 42
  },
  "hsl": {
    "h": 134.286,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41499,
    "c": 0.10046,
    "h": 148.1
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#1B5A2A
secondary
#90417D
accent
#4BBADD
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #1B5A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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