#1B8342#1B8342

#1B8342 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.135 H 150.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1B8342
RGBrgb(27, 131, 66)
HSLhsl(143, 66%, 31%)
HSVhsv(143, 79%, 51%)
CMYKcmyk(79.4%, 0%, 49.6%, 48.6%)
CIE-LABlab(48.08, -43.75, 27.05)
CIE-LCHlch(48.08, 51.44, 148.27°)
OKLaboklab(53.77% -0.1176 0.066)
OKLCHoklch(53.77% 0.135 150.7)
XYZxyz(9.5508, 16.8578, 7.9037)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8342 #831B5C
analogous
#28831B #1B8342 #1B8376
triadic
#1B8342 #421B83 #83421B
tetradic
#1B8342 #1B2883 #831B5C #83761B
square
#1B8342 #1B2883 #831B5C #83761B
split-complementary
#1B8342 #761B83 #831B28
monochromatic
#061E0F #115028 #1B8342 #25B65C #41D879

Accessibility & contrast

On white

4.80
#1B8342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#1B8342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8342
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8342#FFFFFF#000000##FFFFFF
##1B83421.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773D
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1b8342;
/* rgb */ color: rgb(27, 131, 66);
/* oklch */ color: oklch(53.8% 0.135 150.7);
Tailwind
colors: {
  custom: {
    50: '#6aa877',
    500: '#1b8342',
    950: '#000000',
  },
}
SCSS
$custom: #1b8342;
$custom-light: #6aa877;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8342",
  "rgb": {
    "r": 27,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 142.5,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.13482,
    "h": 150.7
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#1B8342
secondary
#B6438B
accent
#3FA9E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1B8342

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

Preview Lab → · Contrast checker → · Palette generator →

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