#1B8A1B#1B8A1B

#1B8A1B is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.173 H 142.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1B8A1B
RGBrgb(27, 138, 27)
HSLhsl(120, 67%, 32%)
HSVhsv(120, 80%, 54%)
CMYKcmyk(80.4%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.08, -50.88, 46.94)
CIE-LCHlch(50.08, 69.23, 137.30°)
OKLaboklab(55.31% -0.1381 0.1049)
OKLCHoklch(55.31% 0.173 142.8)
XYZxyz(9.7377, 18.4879, 4.0920)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A1B #8A1B8A
analogous
#538A1B #1B8A1B #1B8A53
triadic
#1B8A1B #1B1B8A #8A1B1B
tetradic
#1B8A1B #1B538A #8A1B8A #8A531B
square
#1B8A1B #1B538A #8A1B8A #8A531B
split-complementary
#1B8A1B #531B8A #8A1B53
monochromatic
#072407 #115711 #1B8A1B #25BD25 #45DB45

Accessibility & contrast

On white

4.47
#1B8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#1B8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A1B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A1B#FFFFFF#000000##000000
##1B8A1B1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1b8a1b;
/* rgb */ color: rgb(27, 138, 27);
/* oklch */ color: oklch(55.3% 0.173 142.8);
Tailwind
colors: {
  custom: {
    50: '#6dad61',
    500: '#1b8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a1b;
$custom-light: #6dad61;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a1b",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55306,
    "c": 0.17342,
    "h": 142.8
  },
  "luminance": 0.18489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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