#1B8540#1B8540

#1B8540 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.139 H 149.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1B8540
RGBrgb(27, 133, 64)
HSLhsl(141, 66%, 31%)
HSVhsv(141, 80%, 52%)
CMYKcmyk(79.7%, 0%, 51.9%, 47.8%)
CIE-LABlab(48.73, -44.84, 28.94)
CIE-LCHlch(48.73, 53.37, 147.16°)
OKLaboklab(54.3% -0.1205 0.0702)
OKLCHoklch(54.3% 0.139 149.8)
XYZxyz(9.7641, 17.3771, 7.6890)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8540 #851B60
analogous
#2B851B #1B8540 #1B8575
triadic
#1B8540 #401B85 #85401B
tetradic
#1B8540 #1B2B85 #851B60 #85751B
square
#1B8540 #1B2B85 #851B60 #85751B
split-complementary
#1B8540 #751B85 #851B2B
monochromatic
#061F0F #115228 #1B8540 #25B858 #42D976

Accessibility & contrast

On white

4.69
#1B8540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1B8540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8540
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8540#FFFFFF#000000##FFFFFF
##1B85401.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7A7045
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b8540;
/* rgb */ color: rgb(27, 133, 64);
/* oklch */ color: oklch(54.3% 0.139 149.8);
Tailwind
colors: {
  custom: {
    50: '#6aa976',
    500: '#1b8540',
    950: '#000000',
  },
}
SCSS
$custom: #1b8540;
$custom-light: #6aa976;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8540",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 140.943,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.13941,
    "h": 149.8
  },
  "luminance": 0.17378
}

Semantic roles & 50–950 ramp

primary
#1B8540
secondary
#B84490
accent
#3FAEE9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1B8540

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

Preview Lab → · Contrast checker → · Palette generator →

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