#1B7A17#1B7A17

#1B7A17 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.157 H 142.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1B7A17
RGBrgb(27, 122, 23)
HSLhsl(118, 68%, 28%)
HSVhsv(118, 81%, 48%)
CMYKcmyk(77.9%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.54, -45.85, 42.94)
CIE-LCHlch(44.54, 62.82, 136.88°)
OKLaboklab(50.69% -0.1247 0.096)
OKLCHoklch(50.69% 0.157 142.4)
XYZxyz(7.5657, 14.2131, 3.1551)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7A17 #76177A
analogous
#4C7A17 #1B7A17 #177A44
triadic
#1B7A17 #171B7A #7A171B
tetradic
#1B7A17 #174C7A #76177A #7A4417
square
#1B7A17 #174C7A #76177A #7A4417
split-complementary
#1B7A17 #44177A #7A174C
monochromatic
#061A05 #10470D #1B7A17 #26AD21 #3AD933

Accessibility & contrast

On white

5.46
#1B7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1B7A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7A17
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7A17#FFFFFF#000000##FFFFFF
##1B7A171.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#726723
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b7a17;
/* rgb */ color: rgb(27, 122, 23);
/* oklch */ color: oklch(50.7% 0.157 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a15d',
    500: '#1b7a17',
    950: '#000000',
  },
}
SCSS
$custom: #1b7a17;
$custom-light: #69a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7a17",
  "rgb": {
    "r": 27,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 117.576,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.15733,
    "h": 142.4
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#1B7A17
secondary
#AA3EAF
accent
#3DEBE4
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1B7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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