#1B4E1A#1B4E1A

#1B4E1A is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.098 H 143.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1B4E1A
RGBrgb(27, 78, 26)
HSLhsl(119, 50%, 20%)
HSVhsv(119, 67%, 31%)
CMYKcmyk(65.4%, 0%, 66.7%, 69.4%)
CIE-LABlab(28.79, -28.91, 25.25)
CIE-LCHlch(28.79, 38.38, 138.87°)
OKLaboklab(37.65% -0.0786 0.0592)
OKLCHoklch(37.65% 0.098 143)
XYZxyz(3.3627, 5.7561, 1.9109)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E1A #4D1A4E
analogous
#354E1A #1B4E1A #1A4E33
triadic
#1B4E1A #1A1B4E #4E1A1B
tetradic
#1B4E1A #1A354E #4D1A4E #4E331A
square
#1B4E1A #1A354E #4D1A4E #4E331A
split-complementary
#1B4E1A #331A4E #4E1A35
monochromatic
#081708 #0B200B #1B4E1A #2B7C29 #3BAA39

Accessibility & contrast

On white

9.76
#1B4E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1B4E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E1A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E1A#FFFFFF#000000##FFFFFF
##1B4E1A1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504714
Deuteranopia (green-blind)
#49421E
Tritanopia (blue-blind)
#124C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e1a;
/* rgb */ color: rgb(27, 78, 26);
/* oklch */ color: oklch(37.6% 0.098 143.0);
Tailwind
colors: {
  custom: {
    50: '#5e8059',
    500: '#1b4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e1a;
$custom-light: #5e8059;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e1a",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 118.846,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.09841,
    "h": 143
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#1B4E1A
secondary
#834084
accent
#4EDAD7
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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