#1B4B2B#1B4B2B

#1B4B2B is a dark, moderate green. Relative luminance 0.054; OKLCH L 37.0% C 0.076 H 151.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#1B4B2B
RGBrgb(27, 75, 43)
HSLhsl(140, 47%, 20%)
HSVhsv(140, 64%, 29%)
CMYKcmyk(64%, 0%, 42.7%, 70.6%)
CIE-LABlab(27.95, -24.64, 14.35)
CIE-LCHlch(27.95, 28.51, 149.79°)
OKLaboklab(37.04% -0.0667 0.0357)
OKLCHoklch(37.04% 0.076 151.8)
XYZxyz(3.4039, 5.4393, 3.1555)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B2B #4B1B3B
analogous
#234B1B #1B4B2B #1B4B43
triadic
#1B4B2B #2B1B4B #4B2B1B
tetradic
#1B4B2B #1B234B #4B1B3B #4B431B
square
#1B4B2B #1B234B #4B1B3B #4B431B
split-complementary
#1B4B2B #431B4B #4B1B23
monochromatic
#08170D #0B1E11 #1B4B2B #2B7845 #3BA55F

Accessibility & contrast

On white

10.06
#1B4B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1B4B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B2B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B2B#FFFFFF#000000##FFFFFF
##1B4B2B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4529
Deuteranopia (green-blind)
#45402D
Tritanopia (blue-blind)
#0D4A43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b4b2b;
/* rgb */ color: rgb(27, 75, 43);
/* oklch */ color: oklch(37.0% 0.076 151.8);
Tailwind
colors: {
  custom: {
    50: '#5d7e64',
    500: '#1b4b2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b2b;
$custom-light: #5d7e64;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b2b",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 43
  },
  "hsl": {
    "h": 140,
    "s": 47.059,
    "l": 20
  },
  "oklch": {
    "l": 0.37042,
    "c": 0.07571,
    "h": 151.8
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#1B4B2B
secondary
#81416C
accent
#51AAD7
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #1B4B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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