#1B8D40#1B8D40

#1B8D40 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.150 H 148.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1B8D40
RGBrgb(27, 141, 64)
HSLhsl(139, 68%, 33%)
HSVhsv(139, 81%, 55%)
CMYKcmyk(80.9%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.44, -47.76, 32.27)
CIE-LCHlch(51.44, 57.64, 145.95°)
OKLaboklab(56.54% -0.1283 0.0776)
OKLCHoklch(56.54% 0.15 148.8)
XYZxyz(10.9014, 19.6516, 8.0681)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D40 #8D1B68
analogous
#2F8D1B #1B8D40 #1B8D79
triadic
#1B8D40 #401B8D #8D401B
tetradic
#1B8D40 #1B2F8D #8D1B68 #8D791B
square
#1B8D40 #1B2F8D #8D1B68 #8D791B
split-complementary
#1B8D40 #791B8D #8D1B2F
monochromatic
#072611 #115A29 #1B8D40 #25C057 #47DC77

Accessibility & contrast

On white

4.26
#1B8D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#1B8D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D40
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D40#FFFFFF#000000##000000
##1B8D401.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#827746
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8d40;
/* rgb */ color: rgb(27, 141, 64);
/* oklch */ color: oklch(56.5% 0.150 148.8);
Tailwind
colors: {
  custom: {
    50: '#6caf77',
    500: '#1b8d40',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d40;
$custom-light: #6caf77;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d40",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 139.474,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.14994,
    "h": 148.8
  },
  "luminance": 0.19653
}

Semantic roles & 50–950 ramp

primary
#1B8D40
secondary
#BD4697
accent
#3DB2EB
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1B8D40

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

Preview Lab → · Contrast checker → · Palette generator →

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