#1B7618#1B7618

#1B7618 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.5% C 0.152 H 142.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#1B7618
RGBrgb(27, 118, 24)
HSLhsl(118, 66%, 28%)
HSVhsv(118, 80%, 46%)
CMYKcmyk(77.1%, 0%, 79.7%, 53.7%)
CIE-LABlab(43.15, -44.41, 41.24)
CIE-LCHlch(43.15, 60.61, 137.12°)
OKLaboklab(49.53% -0.1207 0.0926)
OKLCHoklch(49.53% 0.152 142.5)
XYZxyz(7.0949, 13.2550, 3.0485)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7618 #731876
analogous
#4A7618 #1B7618 #187644
triadic
#1B7618 #181B76 #76181B
tetradic
#1B7618 #184A76 #731876 #764418
square
#1B7618 #184A76 #731876 #764418
split-complementary
#1B7618 #441876 #76184A
monochromatic
#061905 #0F430E #1B7618 #27A922 #38D533

Accessibility & contrast

On white

5.75
#1B7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#1B7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7618
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7618#FFFFFF#000000##FFFFFF
##1B76181.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#6F6323
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1b7618;
/* rgb */ color: rgb(27, 118, 24);
/* oklch */ color: oklch(49.5% 0.152 142.5);
Tailwind
colors: {
  custom: {
    50: '#689e5d',
    500: '#1b7618',
    950: '#000000',
  },
}
SCSS
$custom: #1b7618;
$custom-light: #689e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7618",
  "rgb": {
    "r": 27,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 118.085,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49532,
    "c": 0.15212,
    "h": 142.5
  },
  "luminance": 0.13256
}

Semantic roles & 50–950 ramp

primary
#1B7618
secondary
#A83FAB
accent
#3FE9E4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7618

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

Preview Lab → · Contrast checker → · Palette generator →

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