#1B6837#1B6837

#1B6837 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.108 H 151.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#1B6837
RGBrgb(27, 104, 55)
HSLhsl(142, 59%, 26%)
HSVhsv(142, 74%, 41%)
CMYKcmyk(74%, 0%, 47.1%, 59.2%)
CIE-LABlab(38.57, -35.11, 21.05)
CIE-LCHlch(38.57, 40.93, 149.06°)
OKLaboklab(45.85% -0.0946 0.0518)
OKLCHoklch(45.85% 0.108 151.3)
XYZxyz(6.0914, 10.4088, 5.3018)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6837 #681B4C
analogous
#25681B #1B6837 #1B685D
triadic
#1B6837 #371B68 #68371B
tetradic
#1B6837 #1B2568 #681B4C #685D1B
square
#1B6837 #1B2568 #681B4C #685D1B
split-complementary
#1B6837 #5D1B68 #681B25
monochromatic
#06180D #0E371D #1B6837 #289951 #34C96A

Accessibility & contrast

On white

6.81
#1B6837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#1B6837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B6837
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6837#FFFFFF#000000##FFFFFF
##1B68371.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F33
Deuteranopia (green-blind)
#5F583A
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1b6837;
/* rgb */ color: rgb(27, 104, 55);
/* oklch */ color: oklch(45.9% 0.108 151.3);
Tailwind
colors: {
  custom: {
    50: '#63946e',
    500: '#1b6837',
    950: '#000000',
  },
}
SCSS
$custom: #1b6837;
$custom-light: #63946e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6837",
  "rgb": {
    "r": 27,
    "g": 104,
    "b": 55
  },
  "hsl": {
    "h": 141.818,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.10782,
    "h": 151.3
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#1B6837
secondary
#9D427C
accent
#46A9E2
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #1B6837

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

Preview Lab → · Contrast checker → · Palette generator →

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