#1B882A#1B882A

#1B882A is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.162 H 144.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#1B882A
RGBrgb(27, 136, 42)
HSLhsl(128, 67%, 32%)
HSVhsv(128, 80%, 53%)
CMYKcmyk(80.1%, 0%, 69.1%, 46.7%)
CIE-LABlab(49.51, -48.90, 40.58)
CIE-LCHlch(49.51, 63.55, 140.31°)
OKLaboklab(54.86% -0.132 0.0936)
OKLCHoklch(54.86% 0.162 144.7)
XYZxyz(9.6734, 18.0073, 5.1560)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B882A #881B79
analogous
#43881B #1B882A #1B8861
triadic
#1B882A #2A1B88 #882A1B
tetradic
#1B882A #1B4388 #881B79 #88611B
square
#1B882A #1B4388 #881B79 #88611B
split-complementary
#1B882A #611B88 #881B43
monochromatic
#07220A #11551A #1B882A #25BB3A #44DA58

Accessibility & contrast

On white

4.56
#1B882A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#1B882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B882A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B882A#FFFFFF#000000##000000
##1B882A1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1D
Deuteranopia (green-blind)
#7F7233
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1b882a;
/* rgb */ color: rgb(27, 136, 42);
/* oklch */ color: oklch(54.9% 0.162 144.7);
Tailwind
colors: {
  custom: {
    50: '#6cac68',
    500: '#1b882a',
    950: '#000000',
  },
}
SCSS
$custom: #1b882a;
$custom-light: #6cac68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b882a",
  "rgb": {
    "r": 27,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 128.257,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.16186,
    "h": 144.7
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#1B882A
secondary
#BB44AB
accent
#3ED2EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B882A

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

Preview Lab → · Contrast checker → · Palette generator →

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