#1B4E0B#1B4E0B

#1B4E0B is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.110 H 139.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1B4E0B
RGBrgb(27, 78, 11)
HSLhsl(106, 75%, 17%)
HSVhsv(106, 86%, 31%)
CMYKcmyk(65.4%, 0%, 85.9%, 69.4%)
CIE-LABlab(28.66, -30.43, 31.91)
CIE-LCHlch(28.66, 44.09, 133.63°)
OKLaboklab(37.49% -0.0837 0.0711)
OKLCHoklch(37.49% 0.11 139.6)
XYZxyz(3.2366, 5.7057, 1.2473)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E0B #3E0B4E
analogous
#3C4E0B #1B4E0B #0B4E1D
triadic
#1B4E0B #0B1B4E #4E0B1B
tetradic
#1B4E0B #0B3C4E #3E0B4E #4E1D0B
square
#1B4E0B #0B3C4E #3E0B4E #4E1D0B
split-complementary
#1B4E0B #1D0B4E #4E0B3C
monochromatic
#091B04 #091B04 #1B4E0B #2E8413 #40B91A

Accessibility & contrast

On white

9.81
#1B4E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1B4E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E0B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E0B#FFFFFF#000000##FFFFFF
##1B4E0B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#154B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e0b;
/* rgb */ color: rgb(27, 78, 11);
/* oklch */ color: oklch(37.5% 0.110 139.6);
Tailwind
colors: {
  custom: {
    50: '#5f8050',
    500: '#1b4e0b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e0b;
$custom-light: #5f8050;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e0b",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 105.672,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.1098,
    "h": 139.6
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#1B4E0B
secondary
#732B8A
accent
#36F2C5
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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