#1B4E2C#1B4E2C

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

Color values

HEX#1B4E2C
RGBrgb(27, 78, 44)
HSLhsl(140, 49%, 21%)
HSVhsv(140, 65%, 31%)
CMYKcmyk(65.4%, 0%, 43.6%, 69.4%)
CIE-LABlab(29.06, -25.85, 15.20)
CIE-LCHlch(29.06, 29.99, 149.55°)
OKLaboklab(37.96% -0.07 0.0378)
OKLCHoklch(37.96% 0.08 151.6)
XYZxyz(3.6307, 5.8633, 3.3228)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E2C #4E1B3D
analogous
#234E1B #1B4E2C #1B4E45
triadic
#1B4E2C #2C1B4E #4E2C1B
tetradic
#1B4E2C #1B234E #4E1B3D #4E451B
square
#1B4E2C #1B234E #4E1B3D #4E451B
split-complementary
#1B4E2C #451B4E #4E1B23
monochromatic
#08170D #0B2112 #1B4E2C #2B7B46 #3AA95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B4E2C#FFFFFF#000000##FFFFFF
##1B4E2C1.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)
#4E472A
Deuteranopia (green-blind)
#47432E
Tritanopia (blue-blind)
#0B4D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e2c;
/* rgb */ color: rgb(27, 78, 44);
/* oklch */ color: oklch(38.0% 0.080 151.6);
Tailwind
colors: {
  custom: {
    50: '#5d8065',
    500: '#1b4e2c',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e2c;
$custom-light: #5d8065;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e2c",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 44
  },
  "hsl": {
    "h": 140,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.37962,
    "c": 0.07952,
    "h": 151.6
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#1B4E2C
secondary
#84416E
accent
#50ABD8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #1B4E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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