#1B882B#1B882B

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

Color values

HEX#1B882B
RGBrgb(27, 136, 43)
HSLhsl(129, 67%, 32%)
HSVhsv(129, 80%, 53%)
CMYKcmyk(80.1%, 0%, 68.4%, 46.7%)
CIE-LABlab(49.51, -48.80, 40.15)
CIE-LCHlch(49.51, 63.19, 140.55°)
OKLaboklab(54.87% -0.1317 0.0928)
OKLCHoklch(54.87% 0.161 144.8)
XYZxyz(9.6915, 18.0146, 5.2514)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B882B #881B78
analogous
#42881B #1B882B #1B8862
triadic
#1B882B #2B1B88 #882B1B
tetradic
#1B882B #1B4288 #881B78 #88621B
square
#1B882B #1B4288 #881B78 #88621B
split-complementary
#1B882B #621B88 #881B42
monochromatic
#07220B #11551B #1B882B #25BB3B #44DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B882B#FFFFFF#000000##000000
##1B882B1.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)
#8A7B1F
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1b882b;
/* rgb */ color: rgb(27, 136, 43);
/* oklch */ color: oklch(54.9% 0.161 144.8);
Tailwind
colors: {
  custom: {
    50: '#6cac69',
    500: '#1b882b',
    950: '#000000',
  },
}
SCSS
$custom: #1b882b;
$custom-light: #6cac69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b882b",
  "rgb": {
    "r": 27,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 128.807,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.16112,
    "h": 144.8
  },
  "luminance": 0.18016
}

Semantic roles & 50–950 ramp

primary
#1B882B
secondary
#BB44AA
accent
#3ED1EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B882B

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

Preview Lab → · Contrast checker → · Palette generator →

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