#1B4D2C#1B4D2C

#1B4D2C is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.7% C 0.078 H 151.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1B4D2C
RGBrgb(27, 77, 44)
HSLhsl(140, 48%, 20%)
HSVhsv(140, 65%, 30%)
CMYKcmyk(64.9%, 0%, 42.9%, 69.8%)
CIE-LABlab(28.70, -25.38, 14.72)
CIE-LCHlch(28.70, 29.34, 149.89°)
OKLaboklab(37.66% -0.0687 0.0367)
OKLCHoklch(37.66% 0.078 151.9)
XYZxyz(3.5602, 5.7223, 3.2993)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D2C #4D1B3C
analogous
#234D1B #1B4D2C #1B4D45
triadic
#1B4D2C #2C1B4D #4D2C1B
tetradic
#1B4D2C #1B234D #4D1B3C #4D451B
square
#1B4D2C #1B234D #4D1B3C #4D451B
split-complementary
#1B4D2C #451B4D #4D1B23
monochromatic
#08170D #0B2012 #1B4D2C #2B7A46 #3BA860

Accessibility & contrast

On white

9.79
#1B4D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1B4D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D2C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D2C#FFFFFF#000000##FFFFFF
##1B4D2C1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462A
Deuteranopia (green-blind)
#47422E
Tritanopia (blue-blind)
#0C4C45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4d2c;
/* rgb */ color: rgb(27, 77, 44);
/* oklch */ color: oklch(37.7% 0.078 151.9);
Tailwind
colors: {
  custom: {
    50: '#5d7f65',
    500: '#1b4d2c',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d2c;
$custom-light: #5d7f65;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d2c",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 44
  },
  "hsl": {
    "h": 140.4,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37663,
    "c": 0.07789,
    "h": 151.9
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#1B4D2C
secondary
#83416C
accent
#50AAD8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #1B4D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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