#1B5C2A#1B5C2A

#1B5C2A is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.103 H 147.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#1B5C2A
RGBrgb(27, 92, 42)
HSLhsl(134, 55%, 23%)
HSVhsv(134, 71%, 36%)
CMYKcmyk(70.7%, 0%, 54.3%, 63.9%)
CIE-LABlab(34.10, -32.45, 22.80)
CIE-LCHlch(34.10, 39.66, 144.91°)
OKLaboklab(42.09% -0.0875 0.0552)
OKLCHoklch(42.09% 0.103 147.8)
XYZxyz(4.6967, 8.0540, 3.4971)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5C2A #5C1B4D
analogous
#2C5C1B #1B5C2A #1B5C4A
triadic
#1B5C2A #2A1B5C #5C2A1B
tetradic
#1B5C2A #1B2C5C #5C1B4D #5C4A1B
square
#1B5C2A #1B2C5C #5C1B4D #5C4A1B
split-complementary
#1B5C2A #4A1B5C #5C1B2C
monochromatic
#07180B #0D2D14 #1B5C2A #298B40 #37BB55

Accessibility & contrast

On white

8.04
#1B5C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1B5C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5C2A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5C2A#FFFFFF#000000##FFFFFF
##1B5C2A1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5426
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#055A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b5c2a;
/* rgb */ color: rgb(27, 92, 42);
/* oklch */ color: oklch(42.1% 0.103 147.8);
Tailwind
colors: {
  custom: {
    50: '#618b64',
    500: '#1b5c2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b5c2a;
$custom-light: #618b64;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5c2a",
  "rgb": {
    "r": 27,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 133.846,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.10346,
    "h": 147.8
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#1B5C2A
secondary
#92417F
accent
#4ABCDE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #1B5C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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