#1B8B1B#1B8B1B

#1B8B1B is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.175 H 142.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1B8B1B
RGBrgb(27, 139, 27)
HSLhsl(120, 67%, 33%)
HSVhsv(120, 81%, 55%)
CMYKcmyk(80.6%, 0%, 80.6%, 45.5%)
CIE-LABlab(50.42, -51.20, 47.27)
CIE-LCHlch(50.42, 69.69, 137.29°)
OKLaboklab(55.59% -0.139 0.1056)
OKLCHoklch(55.59% 0.175 142.8)
XYZxyz(9.8818, 18.7762, 4.1401)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8B1B #8B1B8B
analogous
#538B1B #1B8B1B #1B8B53
triadic
#1B8B1B #1B1B8B #8B1B1B
tetradic
#1B8B1B #1B538B #8B1B8B #8B531B
square
#1B8B1B #1B538B #8B1B8B #8B531B
split-complementary
#1B8B1B #531B8B #8B1B53
monochromatic
#072507 #115811 #1B8B1B #25BE25 #45DB45

Accessibility & contrast

On white

4.42
#1B8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1B8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8B1B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8B1B#FFFFFF#000000##000000
##1B8B1B1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1b8b1b;
/* rgb */ color: rgb(27, 139, 27);
/* oklch */ color: oklch(55.6% 0.175 142.8);
Tailwind
colors: {
  custom: {
    50: '#6eae61',
    500: '#1b8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #1b8b1b;
$custom-light: #6eae61;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8b1b",
  "rgb": {
    "r": 27,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5559,
    "c": 0.17454,
    "h": 142.8
  },
  "luminance": 0.18777
}

Semantic roles & 50–950 ramp

primary
#1B8B1B
secondary
#BC45BC
accent
#3DEAEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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