#1B8542#1B8542

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

Color values

HEX#1B8542
RGBrgb(27, 133, 66)
HSLhsl(142, 66%, 31%)
HSVhsv(142, 80%, 52%)
CMYKcmyk(79.7%, 0%, 50.4%, 47.8%)
CIE-LABlab(48.76, -44.51, 27.91)
CIE-LCHlch(48.76, 52.53, 147.91°)
OKLaboklab(54.33% -0.1196 0.068)
OKLCHoklch(54.33% 0.138 150.4)
XYZxyz(9.8221, 17.4002, 7.9941)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8542 #851B5E
analogous
#29851B #1B8542 #1B8577
triadic
#1B8542 #421B85 #85421B
tetradic
#1B8542 #1B2985 #851B5E #85771B
square
#1B8542 #1B2985 #851B5E #85771B
split-complementary
#1B8542 #771B85 #851B29
monochromatic
#061F10 #115229 #1B8542 #25B85B #42D979

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8542#FFFFFF#000000##FFFFFF
##1B85421.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)
#86793D
Deuteranopia (green-blind)
#7A7047
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b8542;
/* rgb */ color: rgb(27, 133, 66);
/* oklch */ color: oklch(54.3% 0.138 150.4);
Tailwind
colors: {
  custom: {
    50: '#6aa977',
    500: '#1b8542',
    950: '#000000',
  },
}
SCSS
$custom: #1b8542;
$custom-light: #6aa977;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8542",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 66
  },
  "hsl": {
    "h": 142.075,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.13752,
    "h": 150.4
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#1B8542
secondary
#B8448D
accent
#3FAAE9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1B8542

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

Preview Lab → · Contrast checker → · Palette generator →

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