#1B862D#1B862D

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

Color values

HEX#1B862D
RGBrgb(27, 134, 45)
HSLhsl(130, 66%, 32%)
HSVhsv(130, 80%, 53%)
CMYKcmyk(79.9%, 0%, 66.4%, 47.5%)
CIE-LABlab(48.85, -47.89, 38.53)
CIE-LCHlch(48.85, 61.46, 141.18°)
OKLaboklab(54.32% -0.1291 0.0896)
OKLCHoklch(54.32% 0.157 145.3)
XYZxyz(9.4501, 17.4715, 5.3564)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B862D #861B74
analogous
#3F861B #1B862D #1B8663
triadic
#1B862D #2D1B86 #862D1B
tetradic
#1B862D #1B3F86 #861B74 #86631B
square
#1B862D #1B3F86 #861B74 #86631B
split-complementary
#1B862D #631B86 #861B3F
monochromatic
#06200B #11531C #1B862D #25B93E #42D95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B862D#FFFFFF#000000##FFFFFF
##1B862D1.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)
#887922
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b862d;
/* rgb */ color: rgb(27, 134, 45);
/* oklch */ color: oklch(54.3% 0.157 145.3);
Tailwind
colors: {
  custom: {
    50: '#6baa6a',
    500: '#1b862d',
    950: '#000000',
  },
}
SCSS
$custom: #1b862d;
$custom-light: #6baa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b862d",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 130.093,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.15718,
    "h": 145.3
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#1B862D
secondary
#B944A5
accent
#3ECDE9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B862D

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

Preview Lab → · Contrast checker → · Palette generator →

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