#1B7617#1B7617

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

Color values

HEX#1B7617
RGBrgb(27, 118, 23)
HSLhsl(117, 67%, 28%)
HSVhsv(117, 81%, 46%)
CMYKcmyk(77.1%, 0%, 80.5%, 53.7%)
CIE-LABlab(43.14, -44.48, 41.59)
CIE-LCHlch(43.14, 60.90, 136.92°)
OKLaboklab(49.53% -0.1209 0.0932)
OKLCHoklch(49.53% 0.153 142.4)
XYZxyz(7.0847, 13.2509, 2.9948)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7617 #721776
analogous
#4A7617 #1B7617 #177643
triadic
#1B7617 #171B76 #76171B
tetradic
#1B7617 #174A76 #721776 #764317
square
#1B7617 #174A76 #721776 #764317
split-complementary
#1B7617 #431776 #76174A
monochromatic
#061A05 #0F430D #1B7617 #27A921 #38D731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7617#FFFFFF#000000##FFFFFF
##1B76171.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)
#796A01
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1b7617;
/* rgb */ color: rgb(27, 118, 23);
/* oklch */ color: oklch(49.5% 0.153 142.4);
Tailwind
colors: {
  custom: {
    50: '#689e5c',
    500: '#1b7617',
    950: '#000000',
  },
}
SCSS
$custom: #1b7617;
$custom-light: #689e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7617",
  "rgb": {
    "r": 27,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 117.474,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.15267,
    "h": 142.4
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#1B7617
secondary
#A73EAB
accent
#3EEAE3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7617

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

Preview Lab → · Contrast checker → · Palette generator →

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