#1B8C40#1B8C40

#1B8C40 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.149 H 148.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1B8C40
RGBrgb(27, 140, 64)
HSLhsl(140, 68%, 33%)
HSVhsv(140, 81%, 55%)
CMYKcmyk(80.7%, 0%, 54.3%, 45.1%)
CIE-LABlab(51.10, -47.40, 31.86)
CIE-LCHlch(51.10, 57.12, 146.09°)
OKLaboklab(56.26% -0.1273 0.0767)
OKLCHoklch(56.26% 0.149 148.9)
XYZxyz(10.7546, 19.3580, 8.0192)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8C40 #8C1B67
analogous
#2E8C1B #1B8C40 #1B8C78
triadic
#1B8C40 #401B8C #8C401B
tetradic
#1B8C40 #1B2E8C #8C1B67 #8C781B
square
#1B8C40 #1B2E8C #8C1B67 #8C781B
split-complementary
#1B8C40 #781B8C #8C1B2E
monochromatic
#072511 #115929 #1B8C40 #25BF57 #46DB77

Accessibility & contrast

On white

4.31
#1B8C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1B8C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8C40
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8C40#FFFFFF#000000##000000
##1B8C401.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F39
Deuteranopia (green-blind)
#817646
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8c40;
/* rgb */ color: rgb(27, 140, 64);
/* oklch */ color: oklch(56.3% 0.149 148.9);
Tailwind
colors: {
  custom: {
    50: '#6caf77',
    500: '#1b8c40',
    950: '#000000',
  },
}
SCSS
$custom: #1b8c40;
$custom-light: #6caf77;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8c40",
  "rgb": {
    "r": 27,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 139.646,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.14863,
    "h": 148.9
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B8C40

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

Preview Lab → · Contrast checker → · Palette generator →

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