#1B8840#1B8840

#1B8840 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.143 H 149.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1B8840
RGBrgb(27, 136, 64)
HSLhsl(140, 67%, 32%)
HSVhsv(140, 80%, 53%)
CMYKcmyk(80.1%, 0%, 52.9%, 46.7%)
CIE-LABlab(49.75, -45.95, 30.20)
CIE-LCHlch(49.75, 54.99, 146.69°)
OKLaboklab(55.14% -0.1234 0.073)
OKLCHoklch(55.14% 0.143 149.4)
XYZxyz(10.1807, 18.2103, 7.8279)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8840 #881B63
analogous
#2D881B #1B8840 #1B8877
triadic
#1B8840 #401B88 #88401B
tetradic
#1B8840 #1B2D88 #881B63 #88771B
square
#1B8840 #1B2D88 #881B63 #88771B
split-complementary
#1B8840 #771B88 #881B2D
monochromatic
#072210 #115528 #1B8840 #25BB58 #44DA77

Accessibility & contrast

On white

4.52
#1B8840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#1B8840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8840
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8840#FFFFFF#000000##000000
##1B88401.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3A
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1b8840;
/* rgb */ color: rgb(27, 136, 64);
/* oklch */ color: oklch(55.1% 0.143 149.4);
Tailwind
colors: {
  custom: {
    50: '#6bac76',
    500: '#1b8840',
    950: '#000000',
  },
}
SCSS
$custom: #1b8840;
$custom-light: #6bac76;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8840",
  "rgb": {
    "r": 27,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 140.367,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.14339,
    "h": 149.4
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#1B8840
secondary
#BB4493
accent
#3EAFEA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1B8840

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

Preview Lab → · Contrast checker → · Palette generator →

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