#1B4D0B#1B4D0B

#1B4D0B is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.108 H 139.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#1B4D0B
RGBrgb(27, 77, 11)
HSLhsl(105, 75%, 17%)
HSVhsv(105, 86%, 30%)
CMYKcmyk(64.9%, 0%, 85.7%, 69.8%)
CIE-LABlab(28.29, -30.01, 31.56)
CIE-LCHlch(28.29, 43.55, 133.56°)
OKLaboklab(37.19% -0.0825 0.0704)
OKLCHoklch(37.19% 0.108 139.6)
XYZxyz(3.1661, 5.5646, 1.2238)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D0B #3D0B4D
analogous
#3C4D0B #1B4D0B #0B4D1C
triadic
#1B4D0B #0B1B4D #4D0B1B
tetradic
#1B4D0B #0B3C4D #3D0B4D #4D1C0B
square
#1B4D0B #0B3C4D #3D0B4D #4D1C0B
split-complementary
#1B4D0B #1C0B4D #4D0B3C
monochromatic
#091B04 #091B04 #1B4D0B #2E8313 #41B81A

Accessibility & contrast

On white

9.94
#1B4D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1B4D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D0B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D0B#FFFFFF#000000##FFFFFF
##1B4D0B1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4500
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#154A41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b4d0b;
/* rgb */ color: rgb(27, 77, 11);
/* oklch */ color: oklch(37.2% 0.108 139.6);
Tailwind
colors: {
  custom: {
    50: '#5f7f50',
    500: '#1b4d0b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d0b;
$custom-light: #5f7f50;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d0b",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 11
  },
  "hsl": {
    "h": 105.455,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37188,
    "c": 0.10847,
    "h": 139.6
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#1B4D0B
secondary
#722B89
accent
#36F2C4
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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