#1B862F#1B862F

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

Color values

HEX#1B862F
RGBrgb(27, 134, 47)
HSLhsl(131, 66%, 32%)
HSVhsv(131, 80%, 53%)
CMYKcmyk(79.9%, 0%, 64.9%, 47.5%)
CIE-LABlab(48.87, -47.65, 37.62)
CIE-LCHlch(48.87, 60.71, 141.70°)
OKLaboklab(54.35% -0.1284 0.0879)
OKLCHoklch(54.35% 0.156 145.6)
XYZxyz(9.4895, 17.4873, 5.5640)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B862F #861B72
analogous
#3D861B #1B862F #1B8665
triadic
#1B862F #2F1B86 #862F1B
tetradic
#1B862F #1B3D86 #861B72 #86651B
square
#1B862F #1B3D86 #861B72 #86651B
split-complementary
#1B862F #651B86 #861B3D
monochromatic
#06200B #11531D #1B862F #25B941 #42D95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B862F#FFFFFF#000000##FFFFFF
##1B862F1.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)
#887925
Deuteranopia (green-blind)
#7C7137
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b862f;
/* rgb */ color: rgb(27, 134, 47);
/* oklch */ color: oklch(54.3% 0.156 145.6);
Tailwind
colors: {
  custom: {
    50: '#6baa6b',
    500: '#1b862f',
    950: '#000000',
  },
}
SCSS
$custom: #1b862f;
$custom-light: #6baa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b862f",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 131.215,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54346,
    "c": 0.15561,
    "h": 145.6
  },
  "luminance": 0.17488
}

Semantic roles & 50–950 ramp

primary
#1B862F
secondary
#B944A3
accent
#3EC9E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B862F

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

Preview Lab → · Contrast checker → · Palette generator →

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