#1B862B#1B862B

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

Color values

HEX#1B862B
RGBrgb(27, 134, 43)
HSLhsl(129, 66%, 32%)
HSVhsv(129, 80%, 53%)
CMYKcmyk(79.9%, 0%, 67.9%, 47.5%)
CIE-LABlab(48.83, -48.11, 39.41)
CIE-LCHlch(48.83, 62.19, 140.68°)
OKLaboklab(54.3% -0.1299 0.0912)
OKLCHoklch(54.3% 0.159 144.9)
XYZxyz(9.4125, 17.4565, 5.1584)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B862B #861B76
analogous
#41861B #1B862B #1B8661
triadic
#1B862B #2B1B86 #862B1B
tetradic
#1B862B #1B4186 #861B76 #86611B
square
#1B862B #1B4186 #861B76 #86611B
split-complementary
#1B862B #611B86 #861B41
monochromatic
#06200A #11531B #1B862B #25B93B #42D959

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B862B#FFFFFF#000000##FFFFFF
##1B862B1.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)
#88791F
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b862b;
/* rgb */ color: rgb(27, 134, 43);
/* oklch */ color: oklch(54.3% 0.159 144.9);
Tailwind
colors: {
  custom: {
    50: '#6baa69',
    500: '#1b862b',
    950: '#000000',
  },
}
SCSS
$custom: #1b862b;
$custom-light: #6baa69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b862b",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 128.972,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54302,
    "c": 0.1587,
    "h": 144.9
  },
  "luminance": 0.17458
}

Semantic roles & 50–950 ramp

primary
#1B862B
secondary
#B944A8
accent
#3ED0E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B862B

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

Preview Lab → · Contrast checker → · Palette generator →

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