#1B4E17#1B4E17

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

Color values

HEX#1B4E17
RGBrgb(27, 78, 23)
HSLhsl(116, 54%, 20%)
HSVhsv(116, 71%, 31%)
CMYKcmyk(65.4%, 0%, 70.5%, 69.4%)
CIE-LABlab(28.76, -29.29, 26.75)
CIE-LCHlch(28.76, 39.67, 137.59°)
OKLaboklab(37.61% -0.0798 0.0621)
OKLCHoklch(37.61% 0.101 142.1)
XYZxyz(3.3309, 5.7433, 1.7435)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E17 #4A174E
analogous
#374E17 #1B4E17 #174E2E
triadic
#1B4E17 #171B4E #4E171B
tetradic
#1B4E17 #17374E #4A174E #4E2E17
square
#1B4E17 #17374E #4A174E #4E2E17
split-complementary
#1B4E17 #2E174E #4E1737
monochromatic
#081807 #0B1F09 #1B4E17 #2B7D25 #3CAD33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B4E17#FFFFFF#000000##FFFFFF
##1B4E171.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)
#504610
Deuteranopia (green-blind)
#4A421C
Tritanopia (blue-blind)
#134C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e17;
/* rgb */ color: rgb(27, 78, 23);
/* oklch */ color: oklch(37.6% 0.101 142.1);
Tailwind
colors: {
  custom: {
    50: '#5e8057',
    500: '#1b4e17',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e17;
$custom-light: #5e8057;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e17",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 115.636,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37607,
    "c": 0.10111,
    "h": 142.1
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#1B4E17
secondary
#803C85
accent
#4ADED3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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