#1B861D#1B861D

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

Color values

HEX#1B861D
RGBrgb(27, 134, 29)
HSLhsl(121, 66%, 32%)
HSVhsv(121, 80%, 53%)
CMYKcmyk(79.9%, 0%, 78.4%, 47.5%)
CIE-LABlab(48.72, -49.42, 44.94)
CIE-LCHlch(48.72, 66.80, 137.72°)
OKLaboklab(54.18% -0.1341 0.101)
OKLCHoklch(54.18% 0.168 143)
XYZxyz(9.1983, 17.3708, 4.0303)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B861D #861B84
analogous
#4F861B #1B861D #1B8653
triadic
#1B861D #1D1B86 #861D1B
tetradic
#1B861D #1B4F86 #861B84 #86531B
square
#1B861D #1B4F86 #861B84 #86531B
split-complementary
#1B861D #531B86 #861B4F
monochromatic
#062007 #115312 #1B861D #25B928 #42D945

Accessibility & contrast

On white

4.69
#1B861D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B861D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B861D#FFFFFF#000000##FFFFFF
##1B861D1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b861d;
/* rgb */ color: rgb(27, 134, 29);
/* oklch */ color: oklch(54.2% 0.168 143.0);
Tailwind
colors: {
  custom: {
    50: '#6caa61',
    500: '#1b861d',
    950: '#000000',
  },
}
SCSS
$custom: #1b861d;
$custom-light: #6caa61;
$custom-dark: #000000;
JSON
{
  "hex": "#1b861d",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 121.121,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.16785,
    "h": 143
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#1B861D
secondary
#B944B7
accent
#3EE6E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B861D

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

Preview Lab → · Contrast checker → · Palette generator →

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