#1B4E2A#1B4E2A

#1B4E2A is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.9% C 0.082 H 150.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1B4E2A
RGBrgb(27, 78, 42)
HSLhsl(138, 49%, 21%)
HSVhsv(138, 65%, 31%)
CMYKcmyk(65.4%, 0%, 46.2%, 69.4%)
CIE-LABlab(29.03, -26.26, 16.37)
CIE-LCHlch(29.03, 30.94, 148.06°)
OKLaboklab(37.92% -0.071 0.0405)
OKLCHoklch(37.92% 0.082 150.3)
XYZxyz(3.5940, 5.8486, 3.1295)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E2A #4E1B3F
analogous
#254E1B #1B4E2A #1B4E43
triadic
#1B4E2A #2A1B4E #4E2A1B
tetradic
#1B4E2A #1B254E #4E1B3F #4E431B
square
#1B4E2A #1B254E #4E1B3F #4E431B
split-complementary
#1B4E2A #431B4E #4E1B25
monochromatic
#08170C #0B2112 #1B4E2A #2B7B42 #3AA95B

Accessibility & contrast

On white

9.68
#1B4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1B4E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E2A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E2A#FFFFFF#000000##FFFFFF
##1B4E2A1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4727
Deuteranopia (green-blind)
#48432C
Tritanopia (blue-blind)
#0C4D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e2a;
/* rgb */ color: rgb(27, 78, 42);
/* oklch */ color: oklch(37.9% 0.082 150.3);
Tailwind
colors: {
  custom: {
    50: '#5d8064',
    500: '#1b4e2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e2a;
$custom-light: #5d8064;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e2a",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 137.647,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.37919,
    "c": 0.08174,
    "h": 150.3
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#1B4E2A
secondary
#844170
accent
#50B0D8
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#050A05
muted
#797C79

Preview Lab

Preview with #1B4E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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