#1B511D#1B511D

#1B511D is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.100 H 143.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#1B511D
RGBrgb(27, 81, 29)
HSLhsl(122, 50%, 21%)
HSVhsv(122, 67%, 32%)
CMYKcmyk(66.7%, 0%, 64.2%, 68.2%)
CIE-LABlab(29.93, -29.80, 24.96)
CIE-LCHlch(29.93, 38.87, 140.04°)
OKLaboklab(38.6% -0.0808 0.0589)
OKLCHoklch(38.6% 0.1 143.9)
XYZxyz(3.6160, 6.2062, 2.1695)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B511D #511B4F
analogous
#34511B #1B511D #1B5138
triadic
#1B511D #1D1B51 #511D1B
tetradic
#1B511D #1B3451 #511B4F #51381B
square
#1B511D #1B3451 #511B4F #51381B
split-complementary
#1B511D #381B51 #511B34
monochromatic
#081708 #0C230D #1B511D #2A7F2D #3AAD3E

Accessibility & contrast

On white

9.37
#1B511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B511D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B511D#FFFFFF#000000##FFFFFF
##1B511D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534918
Deuteranopia (green-blind)
#4C4521
Tritanopia (blue-blind)
#104F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b511d;
/* rgb */ color: rgb(27, 81, 29);
/* oklch */ color: oklch(38.6% 0.100 143.9);
Tailwind
colors: {
  custom: {
    50: '#5f825b',
    500: '#1b511d',
    950: '#000000',
  },
}
SCSS
$custom: #1b511d;
$custom-light: #5f825b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b511d",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 122.222,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.10003,
    "h": 143.9
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#1B511D
secondary
#874184
accent
#4ED4DA
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1B511D

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

Preview Lab → · Contrast checker → · Palette generator →

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