#1B4408#1B4408

#1B4408 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.4% C 0.098 H 138.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#1B4408
RGBrgb(27, 68, 8)
HSLhsl(101, 79%, 15%)
HSVhsv(101, 88%, 27%)
CMYKcmyk(60.3%, 0%, 88.2%, 73.3%)
CIE-LABlab(24.90, -26.38, 29.48)
CIE-LCHlch(24.90, 39.56, 131.82°)
OKLaboklab(34.39% -0.073 0.0655)
OKLCHoklch(34.39% 0.098 138.1)
XYZxyz(2.5629, 4.3846, 0.9409)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4408 #310844
analogous
#394408 #1B4408 #084413
triadic
#1B4408 #081B44 #44081B
tetradic
#1B4408 #083944 #310844 #441308
square
#1B4408 #083944 #310844 #441308
split-complementary
#1B4408 #130844 #440839
monochromatic
#0B1B03 #0B1B03 #1B4408 #317B0E #46B215

Accessibility & contrast

On white

11.19
#1B4408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B4408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4408
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4408#FFFFFF#000000##FFFFFF
##1B44081.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#413A0F
Tritanopia (blue-blind)
#184139
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b4408;
/* rgb */ color: rgb(27, 68, 8);
/* oklch */ color: oklch(34.4% 0.098 138.1);
Tailwind
colors: {
  custom: {
    50: '#5d784d',
    500: '#1b4408',
    950: '#000000',
  },
}
SCSS
$custom: #1b4408;
$custom-light: #5d784d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4408",
  "rgb": {
    "r": 27,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 101,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34389,
    "c": 0.09807,
    "h": 138.1
  },
  "luminance": 0.04385
}

Semantic roles & 50–950 ramp

primary
#1B4408
secondary
#652682
accent
#32F5B8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040901
muted
#797B77

Preview Lab

Preview with #1B4408

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

Preview Lab → · Contrast checker → · Palette generator →

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