#1B4B0D#1B4B0D

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

Color values

HEX#1B4B0D
RGBrgb(27, 75, 13)
HSLhsl(106, 70%, 17%)
HSVhsv(106, 83%, 29%)
CMYKcmyk(64%, 0%, 82.7%, 70.6%)
CIE-LABlab(27.56, -29.02, 30.07)
CIE-LCHlch(27.56, 41.79, 133.98°)
OKLaboklab(36.59% -0.0797 0.0676)
OKLCHoklch(36.59% 0.105 139.7)
XYZxyz(3.0406, 5.2940, 1.2423)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B0D #3D0D4B
analogous
#3A4B0D #1B4B0D #0D4B1E
triadic
#1B4B0D #0D1B4B #4B0D1B
tetradic
#1B4B0D #0D3A4B #3D0D4B #4B1E0D
square
#1B4B0D #0D3A4B #3D0D4B #4B1E0D
split-complementary
#1B4B0D #1E0D4B #4B0D3A
monochromatic
#091A05 #091A05 #1B4B0D #2E7F16 #41B31F

Accessibility & contrast

On white

10.20
#1B4B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4B0D
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B0D#FFFFFF#000000##FFFFFF
##1B4B0D1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4403
Deuteranopia (green-blind)
#474014
Tritanopia (blue-blind)
#15483F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b4b0d;
/* rgb */ color: rgb(27, 75, 13);
/* oklch */ color: oklch(36.6% 0.105 139.7);
Tailwind
colors: {
  custom: {
    50: '#5e7e51',
    500: '#1b4b0d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b0d;
$custom-light: #5e7e51;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b0d",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 106.452,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36589,
    "c": 0.10454,
    "h": 139.7
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#1B4B0D
secondary
#722E86
accent
#3BEDC5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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