#1B861A#1B861A

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

Color values

HEX#1B861A
RGBrgb(27, 134, 26)
HSLhsl(119, 68%, 31%)
HSVhsv(119, 81%, 53%)
CMYKcmyk(79.9%, 0%, 80.6%, 47.5%)
CIE-LABlab(48.71, -49.64, 45.95)
CIE-LCHlch(48.71, 67.65, 137.21°)
OKLaboklab(54.16% -0.1348 0.1027)
OKLCHoklch(54.16% 0.169 142.7)
XYZxyz(9.1630, 17.3567, 3.8443)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B861A #851A86
analogous
#51861A #1B861A #1A864F
triadic
#1B861A #1A1B86 #861A1B
tetradic
#1B861A #1A5186 #851A86 #864F1A
square
#1B861A #1A5186 #851A86 #864F1A
split-complementary
#1B861A #4F1A86 #861A51
monochromatic
#061F06 #115310 #1B861A #25B924 #42DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B861A#FFFFFF#000000##FFFFFF
##1B861A1.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: #1b861a;
/* rgb */ color: rgb(27, 134, 26);
/* oklch */ color: oklch(54.2% 0.169 142.7);
Tailwind
colors: {
  custom: {
    50: '#6caa60',
    500: '#1b861a',
    950: '#000000',
  },
}
SCSS
$custom: #1b861a;
$custom-light: #6caa60;
$custom-dark: #000000;
JSON
{
  "hex": "#1b861a",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 119.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.16945,
    "h": 142.7
  },
  "luminance": 0.17358
}

Semantic roles & 50–950 ramp

primary
#1B861A
secondary
#B842B9
accent
#3DEAE9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B861A

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

Preview Lab → · Contrast checker → · Palette generator →

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