#1B6B18#1B6B18

#1B6B18 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.139 H 142.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#1B6B18
RGBrgb(27, 107, 24)
HSLhsl(118, 63%, 26%)
HSVhsv(118, 78%, 42%)
CMYKcmyk(74.8%, 0%, 77.6%, 58%)
CIE-LABlab(39.26, -40.53, 37.39)
CIE-LCHlch(39.26, 55.14, 137.31°)
OKLaboklab(46.31% -0.1102 0.0845)
OKLCHoklch(46.31% 0.139 142.5)
XYZxyz(5.8742, 10.8137, 2.6417)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6B18 #68186B
analogous
#446B18 #1B6B18 #186B3E
triadic
#1B6B18 #181B6B #6B181B
tetradic
#1B6B18 #18446B #68186B #6B3E18
square
#1B6B18 #18446B #68186B #6B3E18
split-complementary
#1B6B18 #3E186B #6B1844
monochromatic
#061906 #0E390D #1B6B18 #289D23 #34CF2E

Accessibility & contrast

On white

6.64
#1B6B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#1B6B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B6B18
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6B18#FFFFFF#000000##FFFFFF
##1B6B181.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6008
Deuteranopia (green-blind)
#645A21
Tritanopia (blue-blind)
#03685B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1b6b18;
/* rgb */ color: rgb(27, 107, 24);
/* oklch */ color: oklch(46.3% 0.139 142.5);
Tailwind
colors: {
  custom: {
    50: '#65965b',
    500: '#1b6b18',
    950: '#000000',
  },
}
SCSS
$custom: #1b6b18;
$custom-light: #65965b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6b18",
  "rgb": {
    "r": 27,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 117.831,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.13888,
    "h": 142.5
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#1B6B18
secondary
#9D3EA1
accent
#41E6E0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1B6B18

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

Preview Lab → · Contrast checker → · Palette generator →

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