#1B4208#1B4208

#1B4208 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.8% C 0.095 H 137.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1B4208
RGBrgb(27, 66, 8)
HSLhsl(100, 78%, 15%)
HSVhsv(100, 88%, 26%)
CMYKcmyk(59.1%, 0%, 87.9%, 74.1%)
CIE-LABlab(24.15, -25.49, 28.75)
CIE-LCHlch(24.15, 38.42, 131.56°)
OKLaboklab(33.77% -0.0706 0.064)
OKLCHoklch(33.77% 0.095 137.8)
XYZxyz(2.4440, 4.1468, 0.9013)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4208 #2F0842
analogous
#384208 #1B4208 #084212
triadic
#1B4208 #081B42 #42081B
tetradic
#1B4208 #083842 #2F0842 #421208
square
#1B4208 #083842 #2F0842 #421208
split-complementary
#1B4208 #120842 #420838
monochromatic
#0B1B03 #0B1B03 #1B4208 #31790F #48AF15

Accessibility & contrast

On white

11.48
#1B4208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B4208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4208
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4208#FFFFFF#000000##FFFFFF
##1B42081.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#183F37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b4208;
/* rgb */ color: rgb(27, 66, 8);
/* oklch */ color: oklch(33.8% 0.095 137.8);
Tailwind
colors: {
  custom: {
    50: '#5d774d',
    500: '#1b4208',
    950: '#000000',
  },
}
SCSS
$custom: #1b4208;
$custom-light: #5d774d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4208",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 100.345,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33768,
    "c": 0.09529,
    "h": 137.8
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#1B4208
secondary
#632580
accent
#33F5B5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B4208

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

Preview Lab → · Contrast checker → · Palette generator →

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