#1B861F#1B861F

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

Color values

HEX#1B861F
RGBrgb(27, 134, 31)
HSLhsl(122, 66%, 32%)
HSVhsv(122, 80%, 53%)
CMYKcmyk(79.9%, 0%, 76.9%, 47.5%)
CIE-LABlab(48.74, -49.27, 44.23)
CIE-LCHlch(48.74, 66.21, 138.08°)
OKLaboklab(54.19% -0.1335 0.0998)
OKLCHoklch(54.19% 0.167 143.2)
XYZxyz(9.2238, 17.3810, 4.1648)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B861F #861B82
analogous
#4D861B #1B861F #1B8655
triadic
#1B861F #1F1B86 #861F1B
tetradic
#1B861F #1B4D86 #861B82 #86551B
square
#1B861F #1B4D86 #861B82 #86551B
split-complementary
#1B861F #551B86 #861B4D
monochromatic
#062007 #115313 #1B861F #25B92B #42D948

Accessibility & contrast

On white

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

On black

4.48
#1B861F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B861F#FFFFFF#000000##FFFFFF
##1B861F1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#7D712A
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b861f;
/* rgb */ color: rgb(27, 134, 31);
/* oklch */ color: oklch(54.2% 0.167 143.2);
Tailwind
colors: {
  custom: {
    50: '#6caa62',
    500: '#1b861f',
    950: '#000000',
  },
}
SCSS
$custom: #1b861f;
$custom-light: #6caa62;
$custom-dark: #000000;
JSON
{
  "hex": "#1b861f",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 122.243,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54194,
    "c": 0.16672,
    "h": 143.2
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#1B861F
secondary
#B944B5
accent
#3EE3E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B861F

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

Preview Lab → · Contrast checker → · Palette generator →

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