#1B4A0F#1B4A0F

#1B4A0F is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.102 H 140.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#1B4A0F
RGBrgb(27, 74, 15)
HSLhsl(108, 66%, 17%)
HSVhsv(108, 80%, 29%)
CMYKcmyk(63.5%, 0%, 79.7%, 71%)
CIE-LABlab(27.20, -28.42, 28.87)
CIE-LCHlch(27.20, 40.51, 134.55°)
OKLaboklab(36.3% -0.078 0.0654)
OKLCHoklch(36.3% 0.102 140)
XYZxyz(2.9869, 5.1648, 1.2914)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A0F #3E0F4A
analogous
#384A0F #1B4A0F #0F4A21
triadic
#1B4A0F #0F1B4A #4A0F1B
tetradic
#1B4A0F #0F384A #3E0F4A #4A210F
square
#1B4A0F #0F384A #3E0F4A #4A210F
split-complementary
#1B4A0F #210F4A #4A0F38
monochromatic
#091905 #091905 #1B4A0F #2E7D19 #40B024

Accessibility & contrast

On white

10.33
#1B4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1B4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A0F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A0F#FFFFFF#000000##FFFFFF
##1B4A0F1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4306
Deuteranopia (green-blind)
#463F15
Tritanopia (blue-blind)
#15473E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b4a0f;
/* rgb */ color: rgb(27, 74, 15);
/* oklch */ color: oklch(36.3% 0.102 140.0);
Tailwind
colors: {
  custom: {
    50: '#5e7d51',
    500: '#1b4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a0f;
$custom-light: #5e7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a0f",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 107.797,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.10179,
    "h": 140
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#1B4A0F
secondary
#733084
accent
#3FE9C7
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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