#1B8732#1B8732

#1B8732 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.154 H 146.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1B8732
RGBrgb(27, 135, 50)
HSLhsl(133, 67%, 32%)
HSVhsv(133, 80%, 53%)
CMYKcmyk(80%, 0%, 63%, 47.1%)
CIE-LABlab(49.24, -47.62, 36.63)
CIE-LCHlch(49.24, 60.08, 142.43°)
OKLaboklab(54.67% -0.1282 0.086)
OKLCHoklch(54.67% 0.154 146.1)
XYZxyz(9.6910, 17.7901, 5.9401)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8732 #871B70
analogous
#3A871B #1B8732 #1B8768
triadic
#1B8732 #321B87 #87321B
tetradic
#1B8732 #1B3A87 #871B70 #87681B
square
#1B8732 #1B3A87 #871B70 #87681B
split-complementary
#1B8732 #681B87 #871B3A
monochromatic
#07210C #11541F #1B8732 #25BA45 #43D963

Accessibility & contrast

On white

4.61
#1B8732 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#1B8732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8732
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8732#FFFFFF#000000##FFFFFF
##1B87321.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A29
Deuteranopia (green-blind)
#7D7239
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b8732;
/* rgb */ color: rgb(27, 135, 50);
/* oklch */ color: oklch(54.7% 0.154 146.1);
Tailwind
colors: {
  custom: {
    50: '#6bab6d',
    500: '#1b8732',
    950: '#000000',
  },
}
SCSS
$custom: #1b8732;
$custom-light: #6bab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8732",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 50
  },
  "hsl": {
    "h": 132.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.15444,
    "h": 146.1
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

primary
#1B8732
secondary
#BA44A1
accent
#3EC5EA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B8732

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

Preview Lab → · Contrast checker → · Palette generator →

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