#1B7C17#1B7C17

#1B7C17 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.160 H 142.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#1B7C17
RGBrgb(27, 124, 23)
HSLhsl(118, 69%, 29%)
HSVhsv(118, 81%, 49%)
CMYKcmyk(78.2%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.23, -46.53, 43.61)
CIE-LCHlch(45.23, 63.77, 136.85°)
OKLaboklab(51.27% -0.1265 0.0974)
OKLCHoklch(51.27% 0.16 142.4)
XYZxyz(7.8138, 14.7093, 3.2378)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C17 #78177C
analogous
#4E7C17 #1B7C17 #177C46
triadic
#1B7C17 #171B7C #7C171B
tetradic
#1B7C17 #174E7C #78177C #7C4617
square
#1B7C17 #174E7C #78177C #7C4617
split-complementary
#1B7C17 #46177C #7C174E
monochromatic
#061A05 #10480D #1B7C17 #26B021 #3BD934

Accessibility & contrast

On white

5.33
#1B7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1B7C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7C17
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7C17#FFFFFF#000000##FFFFFF
##1B7C171.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7c17;
/* rgb */ color: rgb(27, 124, 23);
/* oklch */ color: oklch(51.3% 0.160 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa35d',
    500: '#1b7c17',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c17;
$custom-light: #6aa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c17",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 117.624,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.15963,
    "h": 142.4
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#1B7C17
secondary
#AC3EB1
accent
#3CECE5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1B7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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