#1B4B0B#1B4B0B

#1B4B0B is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.106 H 139.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#1B4B0B
RGBrgb(27, 75, 11)
HSLhsl(105, 74%, 17%)
HSVhsv(105, 85%, 29%)
CMYKcmyk(64%, 0%, 85.3%, 70.6%)
CIE-LABlab(27.54, -29.18, 30.84)
CIE-LCHlch(27.54, 42.46, 133.41°)
OKLaboklab(36.57% -0.0803 0.0689)
OKLCHoklch(36.57% 0.106 139.4)
XYZxyz(3.0283, 5.2891, 1.1778)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B0B #3B0B4B
analogous
#3B4B0B #1B4B0B #0B4B1B
triadic
#1B4B0B #0B1B4B #4B0B1B
tetradic
#1B4B0B #0B3B4B #3B0B4B #4B1B0B
square
#1B4B0B #0B3B4B #3B0B4B #4B1B0B
split-complementary
#1B4B0B #1B0B4B #4B0B3B
monochromatic
#0A1B04 #0A1B04 #1B4B0B #2E8013 #41B61B

Accessibility & contrast

On white

10.21
#1B4B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1B4B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B0B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B0B#FFFFFF#000000##FFFFFF
##1B4B0B1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#474012
Tritanopia (blue-blind)
#16483F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b4b0b;
/* rgb */ color: rgb(27, 75, 11);
/* oklch */ color: oklch(36.6% 0.106 139.4);
Tailwind
colors: {
  custom: {
    50: '#5e7e50',
    500: '#1b4b0b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b0b;
$custom-light: #5e7e50;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b0b",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 11
  },
  "hsl": {
    "h": 105,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36573,
    "c": 0.10579,
    "h": 139.4
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#1B4B0B
secondary
#702B87
accent
#37F1C2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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