#1B8617#1B8617

#1B8617 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.171 H 142.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1B8617
RGBrgb(27, 134, 23)
HSLhsl(118, 71%, 31%)
HSVhsv(118, 83%, 53%)
CMYKcmyk(79.9%, 0%, 82.8%, 47.5%)
CIE-LABlab(48.69, -49.84, 46.89)
CIE-LCHlch(48.69, 68.43, 136.75°)
OKLaboklab(54.14% -0.1355 0.1042)
OKLCHoklch(54.14% 0.171 142.4)
XYZxyz(9.1312, 17.3440, 3.6769)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8617 #821786
analogous
#528617 #1B8617 #17864A
triadic
#1B8617 #171B86 #86171B
tetradic
#1B8617 #175286 #821786 #864A17
square
#1B8617 #175286 #821786 #864A17
split-complementary
#1B8617 #4A1786 #861752
monochromatic
#061E05 #10520E #1B8617 #26BA20 #40DD3A

Accessibility & contrast

On white

4.70
#1B8617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1B8617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8617
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8617#FFFFFF#000000##FFFFFF
##1B86171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b8617;
/* rgb */ color: rgb(27, 134, 23);
/* oklch */ color: oklch(54.1% 0.171 142.4);
Tailwind
colors: {
  custom: {
    50: '#6caa5f',
    500: '#1b8617',
    950: '#000000',
  },
}
SCSS
$custom: #1b8617;
$custom-light: #6caa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8617",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 117.838,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54141,
    "c": 0.17091,
    "h": 142.4
  },
  "luminance": 0.17345
}

Semantic roles & 50–950 ramp

primary
#1B8617
secondary
#B63FBA
accent
#3AEDE7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B8617

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

Preview Lab → · Contrast checker → · Palette generator →

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