#1B6840#1B6840

#1B6840 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.0% C 0.099 H 155.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#1B6840
RGBrgb(27, 104, 64)
HSLhsl(149, 59%, 26%)
HSVhsv(149, 74%, 41%)
CMYKcmyk(74%, 0%, 38.5%, 59.2%)
CIE-LABlab(38.73, -33.27, 16.02)
CIE-LCHlch(38.73, 36.93, 154.28°)
OKLaboklab(46.04% -0.09 0.0402)
OKLCHoklch(46.04% 0.099 155.9)
XYZxyz(6.3271, 10.5031, 6.5433)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6840 #681B43
analogous
#1C681B #1B6840 #1B6866
triadic
#1B6840 #401B68 #68401B
tetradic
#1B6840 #1B1C68 #681B43 #68661B
square
#1B6840 #1B1C68 #681B43 #68661B
split-complementary
#1B6840 #661B68 #681B1C
monochromatic
#06180F #0E3722 #1B6840 #28995E #34C97C

Accessibility & contrast

On white

6.77
#1B6840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#1B6840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B6840
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6840#FFFFFF#000000##FFFFFF
##1B68401.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5E5843
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1b6840;
/* rgb */ color: rgb(27, 104, 64);
/* oklch */ color: oklch(46.0% 0.099 155.9);
Tailwind
colors: {
  custom: {
    50: '#639475',
    500: '#1b6840',
    950: '#000000',
  },
}
SCSS
$custom: #1b6840;
$custom-light: #639475;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6840",
  "rgb": {
    "r": 27,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 148.831,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.09858,
    "h": 155.9
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#1B6840
secondary
#9D4271
accent
#4697E2
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1B6840

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

Preview Lab → · Contrast checker → · Palette generator →

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