#1B4B2D#1B4B2D

#1B4B2D is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.073 H 153.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#1B4B2D
RGBrgb(27, 75, 45)
HSLhsl(143, 47%, 20%)
HSVhsv(143, 64%, 29%)
CMYKcmyk(64%, 0%, 40%, 70.6%)
CIE-LABlab(27.99, -24.21, 13.16)
CIE-LCHlch(27.99, 27.55, 151.47°)
OKLaboklab(37.09% -0.0657 0.033)
OKLCHoklch(37.09% 0.073 153.3)
XYZxyz(3.4415, 5.4543, 3.3535)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B2D #4B1B39
analogous
#214B1B #1B4B2D #1B4B45
triadic
#1B4B2D #2D1B4B #4B2D1B
tetradic
#1B4B2D #1B214B #4B1B39 #4B451B
square
#1B4B2D #1B214B #4B1B39 #4B451B
split-complementary
#1B4B2D #451B4B #4B1B21
monochromatic
#08170D #0B1E12 #1B4B2D #2B7848 #3BA563

Accessibility & contrast

On white

10.04
#1B4B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4B2D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B2D#FFFFFF#000000##FFFFFF
##1B4B2D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452B
Deuteranopia (green-blind)
#44402F
Tritanopia (blue-blind)
#0C4A43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b4b2d;
/* rgb */ color: rgb(27, 75, 45);
/* oklch */ color: oklch(37.1% 0.073 153.3);
Tailwind
colors: {
  custom: {
    50: '#5d7e66',
    500: '#1b4b2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b2d;
$custom-light: #5d7e66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b2d",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 45
  },
  "hsl": {
    "h": 142.5,
    "s": 47.059,
    "l": 20
  },
  "oklch": {
    "l": 0.37088,
    "c": 0.07347,
    "h": 153.3
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#1B4B2D
secondary
#814169
accent
#51A5D7
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1B4B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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