#1B4512#1B4512

#1B4512 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.8% C 0.092 H 140.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#1B4512
RGBrgb(27, 69, 18)
HSLhsl(109, 59%, 17%)
HSVhsv(109, 74%, 27%)
CMYKcmyk(60.9%, 0%, 73.9%, 72.9%)
CIE-LABlab(25.36, -25.92, 25.54)
CIE-LCHlch(25.36, 36.38, 135.42°)
OKLaboklab(34.79% -0.071 0.0589)
OKLCHoklch(34.79% 0.092 140.3)
XYZxyz(2.6892, 4.5327, 1.3053)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4512 #3C1245
analogous
#354512 #1B4512 #124523
triadic
#1B4512 #121B45 #45121B
tetradic
#1B4512 #123545 #3C1245 #452312
square
#1B4512 #123545 #3C1245 #452312
split-complementary
#1B4512 #231245 #451235
monochromatic
#091806 #091806 #1B4512 #2E761F #41A62B

Accessibility & contrast

On white

11.01
#1B4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1B4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4512
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4512#FFFFFF#000000##FFFFFF
##1B45121.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0B
Deuteranopia (green-blind)
#423B16
Tritanopia (blue-blind)
#16433B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b4512;
/* rgb */ color: rgb(27, 69, 18);
/* oklch */ color: oklch(34.8% 0.092 140.3);
Tailwind
colors: {
  custom: {
    50: '#5d7953',
    500: '#1b4512',
    950: '#000000',
  },
}
SCSS
$custom: #1b4512;
$custom-light: #5d7953;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4512",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 109.412,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3479,
    "c": 0.09223,
    "h": 140.3
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#1B4512
secondary
#71357E
accent
#46E2C6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #1B4512

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

Preview Lab → · Contrast checker → · Palette generator →

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