#1B8A2A#1B8A2A

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

Color values

HEX#1B8A2A
RGBrgb(27, 138, 42)
HSLhsl(128, 67%, 32%)
HSVhsv(128, 80%, 54%)
CMYKcmyk(80.4%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.19, -49.58, 41.32)
CIE-LCHlch(50.19, 64.54, 140.19°)
OKLaboklab(55.43% -0.1339 0.0952)
OKLCHoklch(55.43% 0.164 144.6)
XYZxyz(9.9577, 18.5759, 5.2508)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A2A #8A1B7B
analogous
#448A1B #1B8A2A #1B8A62
triadic
#1B8A2A #2A1B8A #8A2A1B
tetradic
#1B8A2A #1B448A #8A1B7B #8A621B
square
#1B8A2A #1B448A #8A1B7B #8A621B
split-complementary
#1B8A2A #621B8A #8A1B44
monochromatic
#07240B #11571A #1B8A2A #25BD3A #45DB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8A2A#FFFFFF#000000##000000
##1B8A2A1.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)
#8D7D1D
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1b8a2a;
/* rgb */ color: rgb(27, 138, 42);
/* oklch */ color: oklch(55.4% 0.164 144.6);
Tailwind
colors: {
  custom: {
    50: '#6dad69',
    500: '#1b8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a2a;
$custom-light: #6dad69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a2a",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 128.108,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.16426,
    "h": 144.6
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#1B8A2A
secondary
#BC45AC
accent
#3ED3EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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