#1B862C#1B862C

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

Color values

HEX#1B862C
RGBrgb(27, 134, 44)
HSLhsl(130, 66%, 32%)
HSVhsv(130, 80%, 53%)
CMYKcmyk(79.9%, 0%, 67.2%, 47.5%)
CIE-LABlab(48.84, -48.00, 38.97)
CIE-LCHlch(48.84, 61.83, 140.93°)
OKLaboklab(54.31% -0.1295 0.0904)
OKLCHoklch(54.31% 0.158 145.1)
XYZxyz(9.4310, 17.4639, 5.2562)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B862C #861B75
analogous
#40861B #1B862C #1B8662
triadic
#1B862C #2C1B86 #862C1B
tetradic
#1B862C #1B4086 #861B75 #86621B
square
#1B862C #1B4086 #861B75 #86621B
split-complementary
#1B862C #621B86 #861B40
monochromatic
#06200B #11531B #1B862C #25B93D #42D95A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B862C#FFFFFF#000000##FFFFFF
##1B862C1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887921
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b862c;
/* rgb */ color: rgb(27, 134, 44);
/* oklch */ color: oklch(54.3% 0.158 145.1);
Tailwind
colors: {
  custom: {
    50: '#6baa69',
    500: '#1b862c',
    950: '#000000',
  },
}
SCSS
$custom: #1b862c;
$custom-light: #6baa69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b862c",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 129.533,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.15795,
    "h": 145.1
  },
  "luminance": 0.17465
}

Semantic roles & 50–950 ramp

primary
#1B862C
secondary
#B944A7
accent
#3ECEE9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B862C

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

Preview Lab → · Contrast checker → · Palette generator →

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