#1B8D17#1B8D17

#1B8D17 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#1B8D17
RGBrgb(27, 141, 23)
HSLhsl(118, 72%, 32%)
HSVhsv(118, 84%, 55%)
CMYKcmyk(80.9%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.09, -52.10, 49.12)
CIE-LCHlch(51.09, 71.61, 136.68°)
OKLaboklab(56.14% -0.1416 0.1089)
OKLCHoklch(56.14% 0.179 142.4)
XYZxyz(10.1309, 19.3434, 4.0102)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D17 #89178D
analogous
#568D17 #1B8D17 #178D4E
triadic
#1B8D17 #171B8D #8D171B
tetradic
#1B8D17 #17568D #89178D #8D4E17
square
#1B8D17 #17568D #89178D #8D4E17
split-complementary
#1B8D17 #4E178D #8D1756
monochromatic
#072406 #11580E #1B8D17 #25C220 #44E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8D17#FFFFFF#000000##000000
##1B8D171.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: #1b8d17;
/* rgb */ color: rgb(27, 141, 23);
/* oklch */ color: oklch(56.1% 0.179 142.4);
Tailwind
colors: {
  custom: {
    50: '#6eaf60',
    500: '#1b8d17',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d17;
$custom-light: #6eaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d17",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 117.966,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.1786,
    "h": 142.4
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#1B8D17
secondary
#BC40C0
accent
#39EFE9
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091105
muted
#7B8079

Preview Lab

Preview with #1B8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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