#1B7918#1B7918

#1B7918 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.156 H 142.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1B7918
RGBrgb(27, 121, 24)
HSLhsl(118, 67%, 28%)
HSVhsv(118, 80%, 47%)
CMYKcmyk(77.7%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.19, -45.44, 42.27)
CIE-LCHlch(44.19, 62.06, 137.07°)
OKLaboklab(50.4% -0.1235 0.0947)
OKLCHoklch(50.4% 0.156 142.5)
XYZxyz(7.4538, 13.9728, 3.1682)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7918 #761879
analogous
#4B7918 #1B7918 #187945
triadic
#1B7918 #181B79 #79181B
tetradic
#1B7918 #184B79 #761879 #794518
square
#1B7918 #184B79 #761879 #794518
split-complementary
#1B7918 #451879 #79184B
monochromatic
#061A05 #10460E #1B7918 #26AC22 #3AD735

Accessibility & contrast

On white

5.53
#1B7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1B7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7918
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7918#FFFFFF#000000##FFFFFF
##1B79181.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b7918;
/* rgb */ color: rgb(27, 121, 24);
/* oklch */ color: oklch(50.4% 0.156 142.5);
Tailwind
colors: {
  custom: {
    50: '#69a15d',
    500: '#1b7918',
    950: '#000000',
  },
}
SCSS
$custom: #1b7918;
$custom-light: #69a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7918",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 118.144,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50404,
    "c": 0.15563,
    "h": 142.5
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#1B7918
secondary
#AA3FAE
accent
#3EEAE4
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1B7918

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

Preview Lab → · Contrast checker → · Palette generator →

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