#1B5912#1B5912

#1B5912 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.120 H 141.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1B5912
RGBrgb(27, 89, 18)
HSLhsl(112, 66%, 21%)
HSVhsv(112, 80%, 35%)
CMYKcmyk(69.7%, 0%, 79.8%, 65.1%)
CIE-LABlab(32.75, -34.29, 33.22)
CIE-LCHlch(32.75, 47.74, 135.90°)
OKLaboklab(40.89% -0.0936 0.075)
OKLCHoklch(40.89% 0.12 141.3)
XYZxyz(4.1333, 7.4210, 1.7867)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5912 #501259
analogous
#3E5912 #1B5912 #12592C
triadic
#1B5912 #121B59 #59121B
tetradic
#1B5912 #123E59 #501259 #592C12
square
#1B5912 #123E59 #501259 #592C12
split-complementary
#1B5912 #2C1259 #59123E
monochromatic
#081905 #0C2608 #1B5912 #2A8C1C #3ABF27

Accessibility & contrast

On white

8.45
#1B5912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1B5912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5912
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5912#FFFFFF#000000##FFFFFF
##1B59121.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#10564B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b5912;
/* rgb */ color: rgb(27, 89, 18);
/* oklch */ color: oklch(40.9% 0.120 141.3);
Tailwind
colors: {
  custom: {
    50: '#618955',
    500: '#1b5912',
    950: '#000000',
  },
}
SCSS
$custom: #1b5912;
$custom-light: #618955;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5912",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 112.394,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40893,
    "c": 0.11995,
    "h": 141.3
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#1B5912
secondary
#863592
accent
#3FE9D4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1B5912

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

Preview Lab → · Contrast checker → · Palette generator →

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