#1B4E16#1B4E16

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

Color values

HEX#1B4E16
RGBrgb(27, 78, 22)
HSLhsl(115, 56%, 20%)
HSVhsv(115, 72%, 31%)
CMYKcmyk(65.4%, 0%, 71.8%, 69.4%)
CIE-LABlab(28.75, -29.41, 27.24)
CIE-LCHlch(28.75, 40.09, 137.19°)
OKLaboklab(37.6% -0.0802 0.063)
OKLCHoklch(37.6% 0.102 141.9)
XYZxyz(3.3210, 5.7394, 1.6917)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E16 #49164E
analogous
#374E16 #1B4E16 #164E2D
triadic
#1B4E16 #161B4E #4E161B
tetradic
#1B4E16 #16374E #49164E #4E2D16
square
#1B4E16 #16374E #49164E #4E2D16
split-complementary
#1B4E16 #2D164E #4E1637
monochromatic
#081807 #0A1E09 #1B4E16 #2C7E23 #3CAD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B4E16#FFFFFF#000000##FFFFFF
##1B4E161.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)
#50460F
Deuteranopia (green-blind)
#4A421B
Tritanopia (blue-blind)
#134B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e16;
/* rgb */ color: rgb(27, 78, 22);
/* oklch */ color: oklch(37.6% 0.102 141.9);
Tailwind
colors: {
  custom: {
    50: '#5e8056',
    500: '#1b4e16',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e16;
$custom-light: #5e8056;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e16",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 114.643,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37595,
    "c": 0.10197,
    "h": 141.9
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#1B4E16
secondary
#7F3A85
accent
#49DFD2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B4E16

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

Preview Lab → · Contrast checker → · Palette generator →

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