#1B7717#1B7717

#1B7717 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.154 H 142.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#1B7717
RGBrgb(27, 119, 23)
HSLhsl(118, 68%, 28%)
HSVhsv(118, 81%, 47%)
CMYKcmyk(77.3%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.49, -44.83, 41.93)
CIE-LCHlch(43.49, 61.38, 136.91°)
OKLaboklab(49.82% -0.1219 0.0939)
OKLCHoklch(49.82% 0.154 142.4)
XYZxyz(7.2030, 13.4877, 3.0342)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7717 #731777
analogous
#4B7717 #1B7717 #177743
triadic
#1B7717 #171B77 #77171B
tetradic
#1B7717 #174B77 #731777 #774317
square
#1B7717 #174B77 #731777 #774317
split-complementary
#1B7717 #431777 #77174B
monochromatic
#061A05 #0F440D #1B7717 #27AA21 #38D731

Accessibility & contrast

On white

5.68
#1B7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#1B7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7717
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7717#FFFFFF#000000##FFFFFF
##1B77171.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1b7717;
/* rgb */ color: rgb(27, 119, 23);
/* oklch */ color: oklch(49.8% 0.154 142.4);
Tailwind
colors: {
  custom: {
    50: '#699f5c',
    500: '#1b7717',
    950: '#000000',
  },
}
SCSS
$custom: #1b7717;
$custom-light: #699f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7717",
  "rgb": {
    "r": 27,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 117.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.15384,
    "h": 142.4
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#1B7717
secondary
#A83EAC
accent
#3DEAE3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #1B7717

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

Preview Lab → · Contrast checker → · Palette generator →

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