#1B862E#1B862E

#1B862E is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.156 H 145.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1B862E
RGBrgb(27, 134, 46)
HSLhsl(131, 66%, 32%)
HSVhsv(131, 80%, 53%)
CMYKcmyk(79.9%, 0%, 65.7%, 47.5%)
CIE-LABlab(48.86, -47.77, 38.08)
CIE-LCHlch(48.86, 61.09, 141.44°)
OKLaboklab(54.33% -0.1288 0.0887)
OKLCHoklch(54.33% 0.156 145.4)
XYZxyz(9.4696, 17.4793, 5.4590)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B862E #861B73
analogous
#3E861B #1B862E #1B8664
triadic
#1B862E #2E1B86 #862E1B
tetradic
#1B862E #1B3E86 #861B73 #86641B
square
#1B862E #1B3E86 #861B73 #86641B
split-complementary
#1B862E #641B86 #861B3E
monochromatic
#06200B #11531D #1B862E #25B93F #42D95D

Accessibility & contrast

On white

4.67
#1B862E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#1B862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B862E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B862E#FFFFFF#000000##FFFFFF
##1B862E1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#7C7136
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b862e;
/* rgb */ color: rgb(27, 134, 46);
/* oklch */ color: oklch(54.3% 0.156 145.4);
Tailwind
colors: {
  custom: {
    50: '#6baa6b',
    500: '#1b862e',
    950: '#000000',
  },
}
SCSS
$custom: #1b862e;
$custom-light: #6baa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b862e",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 130.654,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54334,
    "c": 0.1564,
    "h": 145.4
  },
  "luminance": 0.1748
}

Semantic roles & 50–950 ramp

primary
#1B862E
secondary
#B944A4
accent
#3ECBE9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B862E

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

Preview Lab → · Contrast checker → · Palette generator →

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