#1B4E2D#1B4E2D

#1B4E2D is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.078 H 152.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#1B4E2D
RGBrgb(27, 78, 45)
HSLhsl(141, 49%, 21%)
HSVhsv(141, 65%, 31%)
CMYKcmyk(65.4%, 0%, 42.3%, 69.4%)
CIE-LABlab(29.08, -25.64, 14.61)
CIE-LCHlch(29.08, 29.51, 150.33°)
OKLaboklab(37.99% -0.0694 0.0364)
OKLCHoklch(37.99% 0.078 152.3)
XYZxyz(3.6498, 5.8709, 3.4230)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E2D #4E1B3C
analogous
#234E1B #1B4E2D #1B4E46
triadic
#1B4E2D #2D1B4E #4E2D1B
tetradic
#1B4E2D #1B234E #4E1B3C #4E461B
square
#1B4E2D #1B234E #4E1B3C #4E461B
split-complementary
#1B4E2D #461B4E #4E1B23
monochromatic
#08170D #0B2113 #1B4E2D #2B7B47 #3AA961

Accessibility & contrast

On white

9.66
#1B4E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1B4E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E2D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E2D#FFFFFF#000000##FFFFFF
##1B4E2D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472B
Deuteranopia (green-blind)
#47432F
Tritanopia (blue-blind)
#0B4D46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4e2d;
/* rgb */ color: rgb(27, 78, 45);
/* oklch */ color: oklch(38.0% 0.078 152.3);
Tailwind
colors: {
  custom: {
    50: '#5d8066',
    500: '#1b4e2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e2d;
$custom-light: #5d8066;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e2d",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 45
  },
  "hsl": {
    "h": 141.176,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.37985,
    "c": 0.07842,
    "h": 152.3
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#1B4E2D
secondary
#84416C
accent
#50A8D8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1B4E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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