#1B8917#1B8917

#1B8917 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.174 H 142.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1B8917
RGBrgb(27, 137, 23)
HSLhsl(118, 71%, 31%)
HSVhsv(118, 83%, 54%)
CMYKcmyk(80.3%, 0%, 83.2%, 46.3%)
CIE-LABlab(49.72, -50.81, 47.85)
CIE-LCHlch(49.72, 69.80, 136.72°)
OKLaboklab(55% -0.1381 0.1062)
OKLCHoklch(55% 0.174 142.4)
XYZxyz(9.5517, 18.1851, 3.8171)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8917 #851789
analogous
#548917 #1B8917 #17894C
triadic
#1B8917 #171B89 #89171B
tetradic
#1B8917 #175489 #851789 #894C17
square
#1B8917 #175489 #851789 #894C17
split-complementary
#1B8917 #4C1789 #891754
monochromatic
#062005 #11550E #1B8917 #25BD20 #42DE3C

Accessibility & contrast

On white

4.53
#1B8917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#1B8917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8917
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8917#FFFFFF#000000##000000
##1B89171.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1b8917;
/* rgb */ color: rgb(27, 137, 23);
/* oklch */ color: oklch(55.0% 0.174 142.4);
Tailwind
colors: {
  custom: {
    50: '#6dad5f',
    500: '#1b8917',
    950: '#000000',
  },
}
SCSS
$custom: #1b8917;
$custom-light: #6dad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8917",
  "rgb": {
    "r": 27,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 117.895,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54997,
    "c": 0.17422,
    "h": 142.4
  },
  "luminance": 0.18186
}

Semantic roles & 50–950 ramp

primary
#1B8917
secondary
#B83FBD
accent
#3AEEE8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B8917

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

Preview Lab → · Contrast checker → · Palette generator →

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