#1B8017#1B8017

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

Color values

HEX#1B8017
RGBrgb(27, 128, 23)
HSLhsl(118, 70%, 30%)
HSVhsv(118, 82%, 50%)
CMYKcmyk(78.9%, 0%, 82%, 49.8%)
CIE-LABlab(46.62, -47.87, 44.94)
CIE-LCHlch(46.62, 65.65, 136.81°)
OKLaboklab(52.42% -0.1301 0.1001)
OKLCHoklch(52.42% 0.164 142.4)
XYZxyz(8.3253, 15.7322, 3.4083)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8017 #7C1780
analogous
#508017 #1B8017 #178047
triadic
#1B8017 #171B80 #80171B
tetradic
#1B8017 #175080 #7C1780 #804717
square
#1B8017 #175080 #7C1780 #804717
split-complementary
#1B8017 #471780 #801750
monochromatic
#051A05 #104C0E #1B8017 #26B420 #3DDB36

Accessibility & contrast

On white

5.06
#1B8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1B8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8017
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8017#FFFFFF#000000##FFFFFF
##1B80171.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b8017;
/* rgb */ color: rgb(27, 128, 23);
/* oklch */ color: oklch(52.4% 0.164 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba65e',
    500: '#1b8017',
    950: '#000000',
  },
}
SCSS
$custom: #1b8017;
$custom-light: #6ba65e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8017",
  "rgb": {
    "r": 27,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 117.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.16418,
    "h": 142.4
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#1B8017
secondary
#B03EB4
accent
#3BECE6
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1B8017

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

Preview Lab → · Contrast checker → · Palette generator →

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