#1B8A2B#1B8A2B

#1B8A2B is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.164 H 144.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1B8A2B
RGBrgb(27, 138, 43)
HSLhsl(129, 67%, 32%)
HSVhsv(129, 80%, 54%)
CMYKcmyk(80.4%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.20, -49.48, 40.89)
CIE-LCHlch(50.20, 64.19, 140.42°)
OKLaboklab(55.44% -0.1336 0.0944)
OKLCHoklch(55.44% 0.164 144.8)
XYZxyz(9.9758, 18.5832, 5.3462)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A2B #8A1B7A
analogous
#428A1B #1B8A2B #1B8A63
triadic
#1B8A2B #2B1B8A #8A2B1B
tetradic
#1B8A2B #1B428A #8A1B7A #8A631B
square
#1B8A2B #1B428A #8A1B7A #8A631B
split-complementary
#1B8A2B #631B8A #8A1B42
monochromatic
#07240B #11571B #1B8A2B #25BD3B #45DB5A

Accessibility & contrast

On white

4.45
#1B8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#1B8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A2B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A2B#FFFFFF#000000##000000
##1B8A2B1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D1E
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1b8a2b;
/* rgb */ color: rgb(27, 138, 43);
/* oklch */ color: oklch(55.4% 0.164 144.8);
Tailwind
colors: {
  custom: {
    50: '#6cad69',
    500: '#1b8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a2b;
$custom-light: #6cad69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a2b",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 128.649,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55436,
    "c": 0.16354,
    "h": 144.8
  },
  "luminance": 0.18584
}

Semantic roles & 50–950 ramp

primary
#1B8A2B
secondary
#BC45AB
accent
#3ED1EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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