#1B8A40#1B8A40

#1B8A40 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.146 H 149.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1B8A40
RGBrgb(27, 138, 64)
HSLhsl(140, 67%, 32%)
HSVhsv(140, 80%, 54%)
CMYKcmyk(80.4%, 0%, 53.6%, 45.9%)
CIE-LABlab(50.43, -46.68, 31.03)
CIE-LCHlch(50.43, 56.05, 146.38°)
OKLaboklab(55.7% -0.1254 0.0749)
OKLCHoklch(55.7% 0.146 149.2)
XYZxyz(10.4650, 18.7789, 7.9226)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A40 #8A1B65
analogous
#2D8A1B #1B8A40 #1B8A78
triadic
#1B8A40 #401B8A #8A401B
tetradic
#1B8A40 #1B2D8A #8A1B65 #8A781B
square
#1B8A40 #1B2D8A #8A1B65 #8A781B
split-complementary
#1B8A40 #781B8A #8A1B2D
monochromatic
#072411 #115728 #1B8A40 #25BD58 #45DB77

Accessibility & contrast

On white

4.42
#1B8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1B8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A40
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A40#FFFFFF#000000##000000
##1B8A401.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3A
Deuteranopia (green-blind)
#7F7546
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1b8a40;
/* rgb */ color: rgb(27, 138, 64);
/* oklch */ color: oklch(55.7% 0.146 149.2);
Tailwind
colors: {
  custom: {
    50: '#6cad76',
    500: '#1b8a40',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a40;
$custom-light: #6cad76;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a40",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 140,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.14602,
    "h": 149.2
  },
  "luminance": 0.1878
}

Semantic roles & 50–950 ramp

primary
#1B8A40
secondary
#BC4594
accent
#3EB1EA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1B8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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