#1B8731#1B8731

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

Color values

HEX#1B8731
RGBrgb(27, 135, 49)
HSLhsl(132, 67%, 32%)
HSVhsv(132, 80%, 53%)
CMYKcmyk(80%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.23, -47.75, 37.09)
CIE-LCHlch(49.23, 60.47, 142.16°)
OKLaboklab(54.65% -0.1286 0.0869)
OKLCHoklch(54.65% 0.155 145.9)
XYZxyz(9.6696, 17.7816, 5.8277)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8731 #871B71
analogous
#3B871B #1B8731 #1B8767
triadic
#1B8731 #311B87 #87311B
tetradic
#1B8731 #1B3B87 #871B71 #87671B
square
#1B8731 #1B3B87 #871B71 #87671B
split-complementary
#1B8731 #671B87 #871B3B
monochromatic
#07210C #11541E #1B8731 #25BA44 #43D962

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8731#FFFFFF#000000##FFFFFF
##1B87311.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)
#897A27
Deuteranopia (green-blind)
#7D7238
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b8731;
/* rgb */ color: rgb(27, 135, 49);
/* oklch */ color: oklch(54.7% 0.155 145.9);
Tailwind
colors: {
  custom: {
    50: '#6bab6c',
    500: '#1b8731',
    950: '#000000',
  },
}
SCSS
$custom: #1b8731;
$custom-light: #6bab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8731",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 132.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.15526,
    "h": 145.9
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#1B8731
secondary
#BA44A2
accent
#3EC7EA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B8731

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

Preview Lab → · Contrast checker → · Palette generator →

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