#1B8918#1B8918

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

Color values

HEX#1B8918
RGBrgb(27, 137, 24)
HSLhsl(118, 70%, 32%)
HSVhsv(118, 82%, 54%)
CMYKcmyk(80.3%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.72, -50.75, 47.56)
CIE-LCHlch(49.72, 69.55, 136.86°)
OKLaboklab(55% -0.1379 0.1058)
OKLCHoklch(55% 0.174 142.5)
XYZxyz(9.5619, 18.1891, 3.8709)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8918 #861889
analogous
#548918 #1B8918 #18894E
triadic
#1B8918 #181B89 #89181B
tetradic
#1B8918 #185489 #861889 #894E18
square
#1B8918 #185489 #861889 #894E18
split-complementary
#1B8918 #4E1889 #891854
monochromatic
#062106 #11550F #1B8918 #25BD21 #42DD3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8918#FFFFFF#000000##000000
##1B89181.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)
#807326
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1b8918;
/* rgb */ color: rgb(27, 137, 24);
/* oklch */ color: oklch(55.0% 0.174 142.5);
Tailwind
colors: {
  custom: {
    50: '#6dad5f',
    500: '#1b8918',
    950: '#000000',
  },
}
SCSS
$custom: #1b8918;
$custom-light: #6dad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8918",
  "rgb": {
    "r": 27,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 118.407,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.17377,
    "h": 142.5
  },
  "luminance": 0.1819
}

Semantic roles & 50–950 ramp

primary
#1B8918
secondary
#B940BD
accent
#3BEDE8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B8918

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

Preview Lab → · Contrast checker → · Palette generator →

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