#1B7418#1B7418

#1B7418 is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.150 H 142.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#1B7418
RGBrgb(27, 116, 24)
HSLhsl(118, 66%, 27%)
HSVhsv(118, 79%, 45%)
CMYKcmyk(76.7%, 0%, 79.3%, 54.5%)
CIE-LABlab(42.44, -43.72, 40.55)
CIE-LCHlch(42.44, 59.63, 137.15°)
OKLaboklab(48.95% -0.1188 0.0912)
OKLCHoklch(48.95% 0.15 142.5)
XYZxyz(6.8618, 12.7890, 2.9709)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7418 #711874
analogous
#497418 #1B7418 #187443
triadic
#1B7418 #181B74 #74181B
tetradic
#1B7418 #184974 #711874 #744318
square
#1B7418 #184974 #711874 #744318
split-complementary
#1B7418 #431874 #741849
monochromatic
#061905 #0F410E #1B7418 #27A722 #37D532

Accessibility & contrast

On white

5.90
#1B7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1B7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7418
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7418#FFFFFF#000000##FFFFFF
##1B74181.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b7418;
/* rgb */ color: rgb(27, 116, 24);
/* oklch */ color: oklch(48.9% 0.150 142.5);
Tailwind
colors: {
  custom: {
    50: '#689d5c',
    500: '#1b7418',
    950: '#000000',
  },
}
SCSS
$custom: #1b7418;
$custom-light: #689d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7418",
  "rgb": {
    "r": 27,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 118.043,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4895,
    "c": 0.14975,
    "h": 142.5
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#1B7418
secondary
#A63FA9
accent
#3FE9E3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7418

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

Preview Lab → · Contrast checker → · Palette generator →

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