#1B862A#1B862A

#1B862A is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.159 H 144.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1B862A
RGBrgb(27, 134, 42)
HSLhsl(128, 66%, 32%)
HSVhsv(128, 80%, 53%)
CMYKcmyk(79.9%, 0%, 68.7%, 47.5%)
CIE-LABlab(48.82, -48.22, 39.84)
CIE-LCHlch(48.82, 62.55, 140.44°)
OKLaboklab(54.29% -0.1302 0.092)
OKLCHoklch(54.29% 0.159 144.7)
XYZxyz(9.3944, 17.4493, 5.0630)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B862A #861B77
analogous
#42861B #1B862A #1B8660
triadic
#1B862A #2A1B86 #862A1B
tetradic
#1B862A #1B4286 #861B77 #86601B
square
#1B862A #1B4286 #861B77 #86601B
split-complementary
#1B862A #601B86 #861B42
monochromatic
#06200A #11531A #1B862A #25B93A #42D958

Accessibility & contrast

On white

4.68
#1B862A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1B862A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B862A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B862A#FFFFFF#000000##FFFFFF
##1B862A1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791E
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b862a;
/* rgb */ color: rgb(27, 134, 42);
/* oklch */ color: oklch(54.3% 0.159 144.7);
Tailwind
colors: {
  custom: {
    50: '#6baa68',
    500: '#1b862a',
    950: '#000000',
  },
}
SCSS
$custom: #1b862a;
$custom-light: #6baa68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b862a",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 128.411,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.15944,
    "h": 144.7
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#1B862A
secondary
#B944A9
accent
#3ED1E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B862A

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

Preview Lab → · Contrast checker → · Palette generator →

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