#1B7F17#1B7F17

#1B7F17 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.163 H 142.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1B7F17
RGBrgb(27, 127, 23)
HSLhsl(118, 69%, 29%)
HSVhsv(118, 82%, 50%)
CMYKcmyk(78.7%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.27, -47.53, 44.61)
CIE-LCHlch(46.27, 65.19, 136.82°)
OKLaboklab(52.13% -0.1292 0.0995)
OKLCHoklch(52.13% 0.163 142.4)
XYZxyz(8.1955, 15.4727, 3.3650)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7F17 #7B177F
analogous
#4F7F17 #1B7F17 #177F47
triadic
#1B7F17 #171B7F #7F171B
tetradic
#1B7F17 #174F7F #7B177F #7F4717
square
#1B7F17 #174F7F #7B177F #7F4717
split-complementary
#1B7F17 #47177F #7F174F
monochromatic
#061A05 #104B0E #1B7F17 #26B320 #3CDB36

Accessibility & contrast

On white

5.13
#1B7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1B7F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7F17
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7F17#FFFFFF#000000##FFFFFF
##1B7F171.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7f17;
/* rgb */ color: rgb(27, 127, 23);
/* oklch */ color: oklch(52.1% 0.163 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba55d',
    500: '#1b7f17',
    950: '#000000',
  },
}
SCSS
$custom: #1b7f17;
$custom-light: #6ba55d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7f17",
  "rgb": {
    "r": 27,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 117.692,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.16305,
    "h": 142.4
  },
  "luminance": 0.15474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B7F17

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

Preview Lab → · Contrast checker → · Palette generator →

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