#1B8730#1B8730

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

Color values

HEX#1B8730
RGBrgb(27, 135, 48)
HSLhsl(132, 67%, 32%)
HSVhsv(132, 80%, 53%)
CMYKcmyk(80%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.22, -47.87, 37.55)
CIE-LCHlch(49.22, 60.84, 141.89°)
OKLaboklab(54.64% -0.129 0.0878)
OKLCHoklch(54.64% 0.156 145.8)
XYZxyz(9.6488, 17.7732, 5.7178)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8730 #871B72
analogous
#3C871B #1B8730 #1B8766
triadic
#1B8730 #301B87 #87301B
tetradic
#1B8730 #1B3C87 #871B72 #87661B
square
#1B8730 #1B3C87 #871B72 #87661B
split-complementary
#1B8730 #661B87 #871B3C
monochromatic
#07210C #11541E #1B8730 #25BA42 #43D960

Accessibility & contrast

On white

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

On black

4.55
#1B8730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B8730#FFFFFF#000000##FFFFFF
##1B87301.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b8730;
/* rgb */ color: rgb(27, 135, 48);
/* oklch */ color: oklch(54.6% 0.156 145.8);
Tailwind
colors: {
  custom: {
    50: '#6bab6c',
    500: '#1b8730',
    950: '#000000',
  },
}
SCSS
$custom: #1b8730;
$custom-light: #6bab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8730",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 131.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.15606,
    "h": 145.8
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#1B8730
secondary
#BA44A3
accent
#3EC8EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B8730

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

Preview Lab → · Contrast checker → · Palette generator →

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