#1B8142#1B8142

#1B8142 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.132 H 151.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1B8142
RGBrgb(27, 129, 66)
HSLhsl(143, 65%, 31%)
HSVhsv(143, 79%, 51%)
CMYKcmyk(79.1%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.40, -43.00, 26.19)
CIE-LCHlch(47.40, 50.35, 148.65°)
OKLaboklab(53.21% -0.1155 0.064)
OKLCHoklch(53.21% 0.132 151)
XYZxyz(9.2848, 16.3258, 7.8150)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8142 #811B5A
analogous
#27811B #1B8142 #1B8175
triadic
#1B8142 #421B81 #81421B
tetradic
#1B8142 #1B2781 #811B5A #81751B
square
#1B8142 #1B2781 #811B5A #81751B
split-complementary
#1B8142 #751B81 #811B27
monochromatic
#061C0E #104E28 #1B8142 #26B45C #3FD779

Accessibility & contrast

On white

4.92
#1B8142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1B8142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8142
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8142#FFFFFF#000000##FFFFFF
##1B81421.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82753D
Deuteranopia (green-blind)
#766D46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b8142;
/* rgb */ color: rgb(27, 129, 66);
/* oklch */ color: oklch(53.2% 0.132 151.0);
Tailwind
colors: {
  custom: {
    50: '#69a677',
    500: '#1b8142',
    950: '#000000',
  },
}
SCSS
$custom: #1b8142;
$custom-light: #69a677;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8142",
  "rgb": {
    "r": 27,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 142.941,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.1321,
    "h": 151
  },
  "luminance": 0.16327
}

Semantic roles & 50–950 ramp

primary
#1B8142
secondary
#B54389
accent
#3FA8E8
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1B8142

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

Preview Lab → · Contrast checker → · Palette generator →

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