#1B8D18#1B8D18

#1B8D18 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.178 H 142.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1B8D18
RGBrgb(27, 141, 24)
HSLhsl(118, 71%, 32%)
HSVhsv(118, 83%, 55%)
CMYKcmyk(80.9%, 0%, 83%, 44.7%)
CIE-LABlab(51.09, -52.04, 48.84)
CIE-LCHlch(51.09, 71.37, 136.82°)
OKLaboklab(56.14% -0.1414 0.1084)
OKLCHoklch(56.14% 0.178 142.5)
XYZxyz(10.1411, 19.3475, 4.0639)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D18 #8A188D
analogous
#558D18 #1B8D18 #188D50
triadic
#1B8D18 #181B8D #8D181B
tetradic
#1B8D18 #18558D #8A188D #8D5018
square
#1B8D18 #18558D #8A188D #8D5018
split-complementary
#1B8D18 #50188D #8D1855
monochromatic
#072406 #11590F #1B8D18 #25C121 #45DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8D18#FFFFFF#000000##000000
##1B8D181.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)
#847627
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d18;
/* rgb */ color: rgb(27, 141, 24);
/* oklch */ color: oklch(56.1% 0.178 142.5);
Tailwind
colors: {
  custom: {
    50: '#6eaf60',
    500: '#1b8d18',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d18;
$custom-light: #6eaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d18",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 118.462,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5614,
    "c": 0.17816,
    "h": 142.5
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#1B8D18
secondary
#BC42BF
accent
#3AEEE9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1B8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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