#1B6838#1B6838

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

Color values

HEX#1B6838
RGBrgb(27, 104, 56)
HSLhsl(143, 59%, 26%)
HSVhsv(143, 74%, 41%)
CMYKcmyk(74%, 0%, 46.2%, 59.2%)
CIE-LABlab(38.58, -34.92, 20.50)
CIE-LCHlch(38.58, 40.49, 149.59°)
OKLaboklab(45.87% -0.0941 0.0506)
OKLCHoklch(45.87% 0.107 151.7)
XYZxyz(6.1156, 10.4185, 5.4293)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6838 #681B4B
analogous
#24681B #1B6838 #1B685E
triadic
#1B6838 #381B68 #68381B
tetradic
#1B6838 #1B2468 #681B4B #685E1B
square
#1B6838 #1B2468 #681B4B #685E1B
split-complementary
#1B6838 #5E1B68 #681B24
monochromatic
#06180D #0E371E #1B6838 #289952 #34C96C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B6838#FFFFFF#000000##FFFFFF
##1B68381.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)
#685F34
Deuteranopia (green-blind)
#5F583B
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1b6838;
/* rgb */ color: rgb(27, 104, 56);
/* oklch */ color: oklch(45.9% 0.107 151.7);
Tailwind
colors: {
  custom: {
    50: '#63946f',
    500: '#1b6838',
    950: '#000000',
  },
}
SCSS
$custom: #1b6838;
$custom-light: #63946f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6838",
  "rgb": {
    "r": 27,
    "g": 104,
    "b": 56
  },
  "hsl": {
    "h": 142.597,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.10679,
    "h": 151.7
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#1B6838
secondary
#9D427B
accent
#46A7E2
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #1B6838

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

Preview Lab → · Contrast checker → · Palette generator →

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