#1B4E2F#1B4E2F

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

Color values

HEX#1B4E2F
RGBrgb(27, 78, 47)
HSLhsl(144, 49%, 21%)
HSVhsv(144, 65%, 31%)
CMYKcmyk(65.4%, 0%, 39.7%, 69.4%)
CIE-LABlab(29.12, -25.21, 13.43)
CIE-LCHlch(29.12, 28.57, 151.96°)
OKLaboklab(38.03% -0.0684 0.0337)
OKLCHoklch(38.03% 0.076 153.8)
XYZxyz(3.6892, 5.8867, 3.6306)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E2F #4E1B3A
analogous
#214E1B #1B4E2F #1B4E48
triadic
#1B4E2F #2F1B4E #4E2F1B
tetradic
#1B4E2F #1B214E #4E1B3A #4E481B
square
#1B4E2F #1B214E #4E1B3A #4E481B
split-complementary
#1B4E2F #481B4E #4E1B21
monochromatic
#08170E #0B2114 #1B4E2F #2B7B4A #3AA966

Accessibility & contrast

On white

9.64
#1B4E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1B4E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E2F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E2F#FFFFFF#000000##FFFFFF
##1B4E2F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482D
Deuteranopia (green-blind)
#474331
Tritanopia (blue-blind)
#094D46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4e2f;
/* rgb */ color: rgb(27, 78, 47);
/* oklch */ color: oklch(38.0% 0.076 153.8);
Tailwind
colors: {
  custom: {
    50: '#5d8067',
    500: '#1b4e2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e2f;
$custom-light: #5d8067;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e2f",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 47
  },
  "hsl": {
    "h": 143.529,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.07621,
    "h": 153.8
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#1B4E2F
secondary
#84416A
accent
#50A3D8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1B4E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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