#1B8B2A#1B8B2A

#1B8B2A is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.165 H 144.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1B8B2A
RGBrgb(27, 139, 42)
HSLhsl(128, 67%, 33%)
HSVhsv(128, 81%, 55%)
CMYKcmyk(80.6%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.53, -49.92, 41.68)
CIE-LCHlch(50.53, 65.03, 140.14°)
OKLaboklab(55.71% -0.1348 0.0959)
OKLCHoklch(55.71% 0.165 144.6)
XYZxyz(10.1018, 18.8642, 5.2988)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8B2A #8B1B7C
analogous
#448B1B #1B8B2A #1B8B62
triadic
#1B8B2A #2A1B8B #8B2A1B
tetradic
#1B8B2A #1B448B #8B1B7C #8B621B
square
#1B8B2A #1B448B #8B1B7C #8B621B
split-complementary
#1B8B2A #621B8B #8B1B44
monochromatic
#07250B #11581B #1B8B2A #25BE39 #45DB59

Accessibility & contrast

On white

4.40
#1B8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#1B8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8B2A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8B2A#FFFFFF#000000##000000
##1B8B2A1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D1C
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1b8b2a;
/* rgb */ color: rgb(27, 139, 42);
/* oklch */ color: oklch(55.7% 0.165 144.6);
Tailwind
colors: {
  custom: {
    50: '#6dae69',
    500: '#1b8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b8b2a;
$custom-light: #6dae69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8b2a",
  "rgb": {
    "r": 27,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 128.036,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.16544,
    "h": 144.6
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#1B8B2A
secondary
#BC45AD
accent
#3DD3EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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