#1B8545#1B8545

#1B8545 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.135 H 151.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1B8545
RGBrgb(27, 133, 69)
HSLhsl(144, 66%, 31%)
HSVhsv(144, 80%, 52%)
CMYKcmyk(79.7%, 0%, 48.1%, 47.8%)
CIE-LABlab(48.81, -43.98, 26.35)
CIE-LCHlch(48.81, 51.27, 149.07°)
OKLaboklab(54.38% -0.1182 0.0645)
OKLCHoklch(54.38% 0.135 151.4)
XYZxyz(9.9128, 17.4366, 8.4722)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8545 #851B5B
analogous
#26851B #1B8545 #1B857A
triadic
#1B8545 #451B85 #85451B
tetradic
#1B8545 #1B2685 #851B5B #857A1B
square
#1B8545 #1B2685 #851B5B #857A1B
split-complementary
#1B8545 #7A1B85 #851B26
monochromatic
#061F10 #11522B #1B8545 #25B85F #42D97E

Accessibility & contrast

On white

4.68
#1B8545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1B8545 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8545
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8545#FFFFFF#000000##FFFFFF
##1B85451.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857940
Deuteranopia (green-blind)
#79714A
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b8545;
/* rgb */ color: rgb(27, 133, 69);
/* oklch */ color: oklch(54.4% 0.135 151.4);
Tailwind
colors: {
  custom: {
    50: '#6aa97a',
    500: '#1b8545',
    950: '#000000',
  },
}
SCSS
$custom: #1b8545;
$custom-light: #6aa97a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8545",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 143.774,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.13464,
    "h": 151.4
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#1B8545
secondary
#B8448A
accent
#3FA6E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1B8545

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

Preview Lab → · Contrast checker → · Palette generator →

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