#1B8518#1B8518

#1B8518 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.169 H 142.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1B8518
RGBrgb(27, 133, 24)
HSLhsl(118, 69%, 31%)
HSVhsv(118, 82%, 52%)
CMYKcmyk(79.7%, 0%, 82%, 47.8%)
CIE-LABlab(48.35, -49.45, 46.26)
CIE-LCHlch(48.35, 67.71, 136.91°)
OKLaboklab(53.86% -0.1344 0.1031)
OKLCHoklch(53.86% 0.169 142.5)
XYZxyz(9.0038, 17.0730, 3.6849)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8518 #821885
analogous
#518518 #1B8518 #18854B
triadic
#1B8518 #181B85 #85181B
tetradic
#1B8518 #185185 #821885 #854B18
square
#1B8518 #185185 #821885 #854B18
split-complementary
#1B8518 #4B1885 #851851
monochromatic
#061D05 #10510F #1B8518 #26B921 #40DC3C

Accessibility & contrast

On white

4.76
#1B8518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#1B8518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8518
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8518#FFFFFF#000000##FFFFFF
##1B85181.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b8518;
/* rgb */ color: rgb(27, 133, 24);
/* oklch */ color: oklch(53.9% 0.169 142.5);
Tailwind
colors: {
  custom: {
    50: '#6caa5f',
    500: '#1b8518',
    950: '#000000',
  },
}
SCSS
$custom: #1b8518;
$custom-light: #6caa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8518",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 118.349,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.16933,
    "h": 142.5
  },
  "luminance": 0.17074
}

Semantic roles & 50–950 ramp

primary
#1B8518
secondary
#B640B9
accent
#3CECE7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B8518

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

Preview Lab → · Contrast checker → · Palette generator →

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