#1B861B#1B861B

#1B861B is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.2% C 0.169 H 142.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1B861B
RGBrgb(27, 134, 27)
HSLhsl(120, 66%, 32%)
HSVhsv(120, 80%, 53%)
CMYKcmyk(79.9%, 0%, 79.9%, 47.5%)
CIE-LABlab(48.71, -49.57, 45.62)
CIE-LCHlch(48.71, 67.37, 137.38°)
OKLaboklab(54.17% -0.1345 0.1022)
OKLCHoklch(54.17% 0.169 142.8)
XYZxyz(9.1743, 17.3613, 3.9042)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B861B #861B86
analogous
#51861B #1B861B #1B8651
triadic
#1B861B #1B1B86 #861B1B
tetradic
#1B861B #1B5186 #861B86 #86511B
square
#1B861B #1B5186 #861B86 #86511B
split-complementary
#1B861B #511B86 #861B51
monochromatic
#062006 #115311 #1B861B #25B925 #42D942

Accessibility & contrast

On white

4.70
#1B861B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1B861B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B861B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B861B#FFFFFF#000000##FFFFFF
##1B861B1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#7D7127
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b861b;
/* rgb */ color: rgb(27, 134, 27);
/* oklch */ color: oklch(54.2% 0.169 142.8);
Tailwind
colors: {
  custom: {
    50: '#6caa60',
    500: '#1b861b',
    950: '#000000',
  },
}
SCSS
$custom: #1b861b;
$custom-light: #6caa60;
$custom-dark: #000000;
JSON
{
  "hex": "#1b861b",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54166,
    "c": 0.16893,
    "h": 142.8
  },
  "luminance": 0.17362
}

Semantic roles & 50–950 ramp

primary
#1B861B
secondary
#B944B9
accent
#3EE9E9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B861B

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

Preview Lab → · Contrast checker → · Palette generator →

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