#1B7E17#1B7E17

#1B7E17 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.162 H 142.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1B7E17
RGBrgb(27, 126, 23)
HSLhsl(118, 69%, 29%)
HSVhsv(118, 82%, 49%)
CMYKcmyk(78.6%, 0%, 81.7%, 50.6%)
CIE-LABlab(45.93, -47.20, 44.28)
CIE-LCHlch(45.93, 64.72, 136.83°)
OKLaboklab(51.84% -0.1283 0.0988)
OKLCHoklch(51.84% 0.162 142.4)
XYZxyz(8.0670, 15.2156, 3.3222)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E17 #7A177E
analogous
#4F7E17 #1B7E17 #177E47
triadic
#1B7E17 #171B7E #7E171B
tetradic
#1B7E17 #174F7E #7A177E #7E4717
square
#1B7E17 #174F7E #7A177E #7E4717
split-complementary
#1B7E17 #47177E #7E174F
monochromatic
#061A05 #104A0E #1B7E17 #26B220 #3CDA35

Accessibility & contrast

On white

5.19
#1B7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1B7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7E17
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E17#FFFFFF#000000##FFFFFF
##1B7E171.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7e17;
/* rgb */ color: rgb(27, 126, 23);
/* oklch */ color: oklch(51.8% 0.162 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa45d',
    500: '#1b7e17',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e17;
$custom-light: #6aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e17",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 117.67,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.16191,
    "h": 142.4
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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