#1B8E17#1B8E17

#1B8E17 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.180 H 142.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1B8E17
RGBrgb(27, 142, 23)
HSLhsl(118, 72%, 32%)
HSVhsv(118, 84%, 56%)
CMYKcmyk(81%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.43, -52.42, 49.44)
CIE-LCHlch(51.43, 72.05, 136.67°)
OKLaboklab(56.42% -0.1424 0.1096)
OKLCHoklch(56.42% 0.18 142.4)
XYZxyz(10.2790, 19.6396, 4.0595)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8E17 #8A178E
analogous
#578E17 #1B8E17 #178E4E
triadic
#1B8E17 #171B8E #8E171B
tetradic
#1B8E17 #17578E #8A178E #8E4E17
square
#1B8E17 #17578E #8A178E #8E4E17
split-complementary
#1B8E17 #4E178E #8E1757
monochromatic
#072506 #11590E #1B8E17 #25C320 #45E03F

Accessibility & contrast

On white

4.26
#1B8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#1B8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8E17
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8E17#FFFFFF#000000##000000
##1B8E171.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8e17;
/* rgb */ color: rgb(27, 142, 23);
/* oklch */ color: oklch(56.4% 0.180 142.4);
Tailwind
colors: {
  custom: {
    50: '#6fb060',
    500: '#1b8e17',
    950: '#000000',
  },
}
SCSS
$custom: #1b8e17;
$custom-light: #6fb060;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8e17",
  "rgb": {
    "r": 27,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 117.983,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56418,
    "c": 0.1797,
    "h": 142.4
  },
  "luminance": 0.19641
}

Semantic roles & 50–950 ramp

primary
#1B8E17
secondary
#BC40C0
accent
#39EFE9
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #1B8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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