#1B4D31#1B4D31

#1B4D31 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.072 H 155.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1B4D31
RGBrgb(27, 77, 49)
HSLhsl(146, 48%, 20%)
HSVhsv(146, 65%, 30%)
CMYKcmyk(64.9%, 0%, 36.4%, 69.8%)
CIE-LABlab(28.80, -24.28, 11.75)
CIE-LCHlch(28.80, 26.97, 154.18°)
OKLaboklab(37.78% -0.066 0.0296)
OKLCHoklch(37.78% 0.072 155.8)
XYZxyz(3.6599, 5.7622, 3.8245)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D31 #4D1B37
analogous
#1E4D1B #1B4D31 #1B4D4A
triadic
#1B4D31 #311B4D #4D311B
tetradic
#1B4D31 #1B1E4D #4D1B37 #4D4A1B
square
#1B4D31 #1B1E4D #4D1B37 #4D4A1B
split-complementary
#1B4D31 #4A1B4D #4D1B1E
monochromatic
#08170E #0B2014 #1B4D31 #2B7A4E #3BA86B

Accessibility & contrast

On white

9.76
#1B4D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1B4D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D31
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D31#FFFFFF#000000##FFFFFF
##1B4D311.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D472F
Deuteranopia (green-blind)
#464233
Tritanopia (blue-blind)
#084C46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4d31;
/* rgb */ color: rgb(27, 77, 49);
/* oklch */ color: oklch(37.8% 0.072 155.8);
Tailwind
colors: {
  custom: {
    50: '#5d7f69',
    500: '#1b4d31',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d31;
$custom-light: #5d7f69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d31",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 49
  },
  "hsl": {
    "h": 146.4,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37782,
    "c": 0.07238,
    "h": 155.8
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#1B4D31
secondary
#834166
accent
#509CD8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1B4D31

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

Preview Lab → · Contrast checker → · Palette generator →

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