#1B7518#1B7518

#1B7518 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.151 H 142.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1B7518
RGBrgb(27, 117, 24)
HSLhsl(118, 66%, 28%)
HSVhsv(118, 79%, 46%)
CMYKcmyk(76.9%, 0%, 79.5%, 54.1%)
CIE-LABlab(42.79, -44.06, 40.90)
CIE-LCHlch(42.79, 60.12, 137.13°)
OKLaboklab(49.24% -0.1198 0.0919)
OKLCHoklch(49.24% 0.151 142.5)
XYZxyz(6.9777, 13.0207, 3.0095)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7518 #721875
analogous
#497518 #1B7518 #187544
triadic
#1B7518 #181B75 #75181B
tetradic
#1B7518 #184975 #721875 #754418
square
#1B7518 #184975 #721875 #754418
split-complementary
#1B7518 #441875 #751849
monochromatic
#061905 #0F420E #1B7518 #27A822 #38D532

Accessibility & contrast

On white

5.83
#1B7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#1B7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7518
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7518#FFFFFF#000000##FFFFFF
##1B75181.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1b7518;
/* rgb */ color: rgb(27, 117, 24);
/* oklch */ color: oklch(49.2% 0.151 142.5);
Tailwind
colors: {
  custom: {
    50: '#689e5c',
    500: '#1b7518',
    950: '#000000',
  },
}
SCSS
$custom: #1b7518;
$custom-light: #689e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7518",
  "rgb": {
    "r": 27,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 118.065,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49241,
    "c": 0.15095,
    "h": 142.5
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#1B7518
secondary
#A73FAA
accent
#3FE9E3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7518

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

Preview Lab → · Contrast checker → · Palette generator →

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