#1B8618#1B8618

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

Color values

HEX#1B8618
RGBrgb(27, 134, 24)
HSLhsl(118, 70%, 31%)
HSVhsv(118, 82%, 53%)
CMYKcmyk(79.9%, 0%, 82.1%, 47.5%)
CIE-LABlab(48.70, -49.78, 46.59)
CIE-LCHlch(48.70, 68.18, 136.90°)
OKLaboklab(54.15% -0.1352 0.1037)
OKLCHoklch(54.15% 0.17 142.5)
XYZxyz(9.1414, 17.3481, 3.7307)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8618 #831886
analogous
#528618 #1B8618 #18864C
triadic
#1B8618 #181B86 #86181B
tetradic
#1B8618 #185286 #831886 #864C18
square
#1B8618 #185286 #831886 #864C18
split-complementary
#1B8618 #4C1886 #861852
monochromatic
#061E05 #11520F #1B8618 #25BA21 #41DC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8618#FFFFFF#000000##FFFFFF
##1B86181.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)
#7E7126
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b8618;
/* rgb */ color: rgb(27, 134, 24);
/* oklch */ color: oklch(54.1% 0.170 142.5);
Tailwind
colors: {
  custom: {
    50: '#6caa5f',
    500: '#1b8618',
    950: '#000000',
  },
}
SCSS
$custom: #1b8618;
$custom-light: #6caa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8618",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 118.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.17044,
    "h": 142.5
  },
  "luminance": 0.17349
}

Semantic roles & 50–950 ramp

primary
#1B8618
secondary
#B640BA
accent
#3BECE8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B8618

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

Preview Lab → · Contrast checker → · Palette generator →

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