#1B8726#1B8726

#1B8726 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.163 H 144.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1B8726
RGBrgb(27, 135, 38)
HSLhsl(126, 67%, 32%)
HSVhsv(126, 80%, 53%)
CMYKcmyk(80%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.13, -48.98, 41.88)
CIE-LCHlch(49.13, 64.44, 139.46°)
OKLaboklab(54.54% -0.1324 0.0958)
OKLCHoklch(54.54% 0.163 144.1)
XYZxyz(9.4652, 17.6998, 4.7509)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8726 #871B7C
analogous
#46871B #1B8726 #1B875C
triadic
#1B8726 #261B87 #87261B
tetradic
#1B8726 #1B4687 #871B7C #875C1B
square
#1B8726 #1B4687 #871B7C #875C1B
split-complementary
#1B8726 #5C1B87 #871B46
monochromatic
#072109 #115418 #1B8726 #25BA34 #43D952

Accessibility & contrast

On white

4.63
#1B8726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B8726
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8726#FFFFFF#000000##FFFFFF
##1B87261.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b8726;
/* rgb */ color: rgb(27, 135, 38);
/* oklch */ color: oklch(54.5% 0.163 144.1);
Tailwind
colors: {
  custom: {
    50: '#6cab66',
    500: '#1b8726',
    950: '#000000',
  },
}
SCSS
$custom: #1b8726;
$custom-light: #6cab66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8726",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 126.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.16346,
    "h": 144.1
  },
  "luminance": 0.17701
}

Semantic roles & 50–950 ramp

primary
#1B8726
secondary
#BA44AE
accent
#3ED8EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8726

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

Preview Lab → · Contrast checker → · Palette generator →

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