#1B4D0D#1B4D0D

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

Color values

HEX#1B4D0D
RGBrgb(27, 77, 13)
HSLhsl(107, 71%, 18%)
HSVhsv(107, 83%, 30%)
CMYKcmyk(64.9%, 0%, 83.1%, 69.8%)
CIE-LABlab(28.30, -29.86, 30.81)
CIE-LCHlch(28.30, 42.90, 134.11°)
OKLaboklab(37.2% -0.082 0.0691)
OKLCHoklch(37.2% 0.107 139.9)
XYZxyz(3.1784, 5.5695, 1.2882)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D0D #3F0D4D
analogous
#3B4D0D #1B4D0D #0D4D1F
triadic
#1B4D0D #0D1B4D #4D0D1B
tetradic
#1B4D0D #0D3B4D #3F0D4D #4D1F0D
square
#1B4D0D #0D3B4D #3F0D4D #4D1F0D
split-complementary
#1B4D0D #1F0D4D #4D0D3B
monochromatic
#091A04 #091A04 #1B4D0D #2D8116 #40B61F

Accessibility & contrast

On white

9.93
#1B4D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4D0D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D0D#FFFFFF#000000##FFFFFF
##1B4D0D1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4d0d;
/* rgb */ color: rgb(27, 77, 13);
/* oklch */ color: oklch(37.2% 0.107 139.9);
Tailwind
colors: {
  custom: {
    50: '#5f7f51',
    500: '#1b4d0d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d0d;
$custom-light: #5f7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d0d",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 106.875,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37203,
    "c": 0.10726,
    "h": 139.9
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#1B4D0D
secondary
#742E88
accent
#3AEEC7
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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