#1B4E12#1B4E12

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

Color values

HEX#1B4E12
RGBrgb(27, 78, 18)
HSLhsl(111, 63%, 19%)
HSVhsv(111, 77%, 31%)
CMYKcmyk(65.4%, 0%, 76.9%, 69.4%)
CIE-LABlab(28.71, -29.83, 29.09)
CIE-LCHlch(28.71, 41.67, 135.72°)
OKLaboklab(37.55% -0.0816 0.0663)
OKLCHoklch(37.55% 0.105 140.9)
XYZxyz(3.2854, 5.7252, 1.5041)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E12 #45124E
analogous
#394E12 #1B4E12 #124E27
triadic
#1B4E12 #121B4E #4E121B
tetradic
#1B4E12 #12394E #45124E #4E2712
square
#1B4E12 #12394E #45124E #4E2712
split-complementary
#1B4E12 #27124E #4E1239
monochromatic
#091906 #0A1C07 #1B4E12 #2C801D #3DB129

Accessibility & contrast

On white

9.79
#1B4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4E12
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E12#FFFFFF#000000##FFFFFF
##1B4E121.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#144B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e12;
/* rgb */ color: rgb(27, 78, 18);
/* oklch */ color: oklch(37.6% 0.105 140.9);
Tailwind
colors: {
  custom: {
    50: '#5f8054',
    500: '#1b4e12',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e12;
$custom-light: #5f8054;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e12",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 111,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37553,
    "c": 0.10517,
    "h": 140.9
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#1B4E12
secondary
#7B3587
accent
#42E6CD
background
#F5F7F4
surface
#EAEEE8
border
#C6C9C4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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