#1B4E18#1B4E18

#1B4E18 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.100 H 142.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1B4E18
RGBrgb(27, 78, 24)
HSLhsl(117, 53%, 20%)
HSVhsv(117, 69%, 31%)
CMYKcmyk(65.4%, 0%, 69.2%, 69.4%)
CIE-LABlab(28.77, -29.17, 26.26)
CIE-LCHlch(28.77, 39.25, 138.00°)
OKLaboklab(37.62% -0.0794 0.0612)
OKLCHoklch(37.62% 0.1 142.4)
XYZxyz(3.3411, 5.7474, 1.7973)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E18 #4B184E
analogous
#364E18 #1B4E18 #184E30
triadic
#1B4E18 #181B4E #4E181B
tetradic
#1B4E18 #18364E #4B184E #4E3018
square
#1B4E18 #18364E #4B184E #4E3018
split-complementary
#1B4E18 #30184E #4E1836
monochromatic
#081707 #0B1F0A #1B4E18 #2B7D26 #3BAC35

Accessibility & contrast

On white

9.77
#1B4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4E18
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E18#FFFFFF#000000##FFFFFF
##1B4E181.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504612
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#134C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e18;
/* rgb */ color: rgb(27, 78, 24);
/* oklch */ color: oklch(37.6% 0.100 142.4);
Tailwind
colors: {
  custom: {
    50: '#5e8057',
    500: '#1b4e18',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e18;
$custom-light: #5e8057;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e18",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 116.667,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.10023,
    "h": 142.4
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#1B4E18
secondary
#813D85
accent
#4BDCD4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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