#1B8D16#1B8D16

#1B8D16 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.179 H 142.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1B8D16
RGBrgb(27, 141, 22)
HSLhsl(117, 73%, 32%)
HSVhsv(117, 84%, 55%)
CMYKcmyk(80.9%, 0%, 84.4%, 44.7%)
CIE-LABlab(51.08, -52.16, 49.40)
CIE-LCHlch(51.08, 71.84, 136.55°)
OKLaboklab(56.13% -0.1418 0.1093)
OKLCHoklch(56.13% 0.179 142.4)
XYZxyz(10.1211, 19.3395, 3.9584)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D16 #88168D
analogous
#578D16 #1B8D16 #168D4D
triadic
#1B8D16 #161B8D #8D161B
tetradic
#1B8D16 #16578D #88168D #8D4D16
square
#1B8D16 #16578D #88168D #8D4D16
split-complementary
#1B8D16 #4D168D #8D1657
monochromatic
#072305 #11580E #1B8D16 #25C21E #44E13D

Accessibility & contrast

On white

4.31
#1B8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1B8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D16
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D16#FFFFFF#000000##000000
##1B8D161.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d16;
/* rgb */ color: rgb(27, 141, 22);
/* oklch */ color: oklch(56.1% 0.179 142.4);
Tailwind
colors: {
  custom: {
    50: '#6eaf5f',
    500: '#1b8d16',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d16;
$custom-light: #6eaf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d16",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 117.479,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5613,
    "c": 0.17903,
    "h": 142.4
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#1B8D16
secondary
#BB3EC1
accent
#38F0E8
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091105
muted
#7B8079

Preview Lab

Preview with #1B8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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