#1B4E0D#1B4E0D

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

Color values

HEX#1B4E0D
RGBrgb(27, 78, 13)
HSLhsl(107, 71%, 18%)
HSVhsv(107, 83%, 31%)
CMYKcmyk(65.4%, 0%, 83.3%, 69.4%)
CIE-LABlab(28.67, -30.28, 31.17)
CIE-LCHlch(28.67, 43.45, 134.17°)
OKLaboklab(37.51% -0.0831 0.0699)
OKLCHoklch(37.51% 0.109 139.9)
XYZxyz(3.2489, 5.7106, 1.3117)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E0D #400D4E
analogous
#3B4E0D #1B4E0D #0D4E1F
triadic
#1B4E0D #0D1B4E #4E0D1B
tetradic
#1B4E0D #0D3B4E #400D4E #4E1F0D
square
#1B4E0D #0D3B4E #400D4E #4E1F0D
split-complementary
#1B4E0D #1F0D4E #4E0D3B
monochromatic
#091A04 #091A04 #1B4E0D #2D8216 #3FB71E

Accessibility & contrast

On white

9.80
#1B4E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4E0D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E0D#FFFFFF#000000##FFFFFF
##1B4E0D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504602
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#144B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e0d;
/* rgb */ color: rgb(27, 78, 13);
/* oklch */ color: oklch(37.5% 0.109 139.9);
Tailwind
colors: {
  custom: {
    50: '#5f8051',
    500: '#1b4e0d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e0d;
$custom-light: #5f8051;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e0d",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 13
  },
  "hsl": {
    "h": 107.077,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37509,
    "c": 0.10861,
    "h": 139.9
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#1B4E0D
secondary
#752E89
accent
#3AEEC7
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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