#1B4D2E#1B4D2E

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

Color values

HEX#1B4D2E
RGBrgb(27, 77, 46)
HSLhsl(143, 48%, 20%)
HSVhsv(143, 65%, 30%)
CMYKcmyk(64.9%, 0%, 40.3%, 69.8%)
CIE-LABlab(28.74, -24.95, 13.54)
CIE-LCHlch(28.74, 28.39, 151.52°)
OKLaboklab(37.71% -0.0676 0.0339)
OKLCHoklch(37.71% 0.076 153.4)
XYZxyz(3.5987, 5.7377, 3.5021)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D2E #4D1B3A
analogous
#214D1B #1B4D2E #1B4D47
triadic
#1B4D2E #2E1B4D #4D2E1B
tetradic
#1B4D2E #1B214D #4D1B3A #4D471B
square
#1B4D2E #1B214D #4D1B3A #4D471B
split-complementary
#1B4D2E #471B4D #4D1B21
monochromatic
#08170E #0B2013 #1B4D2E #2B7A49 #3BA864

Accessibility & contrast

On white

9.78
#1B4D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4D2E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D2E#FFFFFF#000000##FFFFFF
##1B4D2E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D472C
Deuteranopia (green-blind)
#464230
Tritanopia (blue-blind)
#0A4C45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4d2e;
/* rgb */ color: rgb(27, 77, 46);
/* oklch */ color: oklch(37.7% 0.076 153.4);
Tailwind
colors: {
  custom: {
    50: '#5d7f67',
    500: '#1b4d2e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d2e;
$custom-light: #5d7f67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d2e",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 46
  },
  "hsl": {
    "h": 142.8,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37709,
    "c": 0.07566,
    "h": 153.4
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#1B4D2E
secondary
#83416A
accent
#50A4D8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1B4D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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