#1B8729#1B8729

#1B8729 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.161 H 144.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1B8729
RGBrgb(27, 135, 41)
HSLhsl(128, 67%, 32%)
HSVhsv(128, 80%, 53%)
CMYKcmyk(80%, 0%, 69.6%, 47.1%)
CIE-LABlab(49.15, -48.67, 40.64)
CIE-LCHlch(49.15, 63.41, 140.14°)
OKLaboklab(54.57% -0.1315 0.0936)
OKLCHoklch(54.57% 0.161 144.5)
XYZxyz(9.5156, 17.7199, 5.0162)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8729 #871B79
analogous
#43871B #1B8729 #1B875F
triadic
#1B8729 #291B87 #87291B
tetradic
#1B8729 #1B4387 #871B79 #875F1B
square
#1B8729 #1B4387 #871B79 #875F1B
split-complementary
#1B8729 #5F1B87 #871B43
monochromatic
#07210A #11541A #1B8729 #25BA38 #43D956

Accessibility & contrast

On white

4.62
#1B8729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1B8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8729
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8729#FFFFFF#000000##FFFFFF
##1B87291.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A1C
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b8729;
/* rgb */ color: rgb(27, 135, 41);
/* oklch */ color: oklch(54.6% 0.161 144.5);
Tailwind
colors: {
  custom: {
    50: '#6cab68',
    500: '#1b8729',
    950: '#000000',
  },
}
SCSS
$custom: #1b8729;
$custom-light: #6cab68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8729",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 127.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54566,
    "c": 0.16138,
    "h": 144.5
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

primary
#1B8729
secondary
#BA44AB
accent
#3ED3EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8729

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

Preview Lab → · Contrast checker → · Palette generator →

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