#1B7017#1B7017

#1B7017 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.146 H 142.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#1B7017
RGBrgb(27, 112, 23)
HSLhsl(117, 66%, 26%)
HSVhsv(117, 79%, 44%)
CMYKcmyk(75.9%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.03, -42.39, 39.53)
CIE-LCHlch(41.03, 57.96, 137.00°)
OKLaboklab(47.77% -0.1153 0.0889)
OKLCHoklch(47.77% 0.146 142.4)
XYZxyz(6.4004, 11.8825, 2.7667)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7017 #6C1770
analogous
#487017 #1B7017 #177040
triadic
#1B7017 #171B70 #70171B
tetradic
#1B7017 #174870 #6C1770 #704017
square
#1B7017 #174870 #6C1770 #704017
split-complementary
#1B7017 #401770 #701748
monochromatic
#061905 #0F3D0D #1B7017 #27A321 #35D42D

Accessibility & contrast

On white

6.22
#1B7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#1B7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7017
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7017#FFFFFF#000000##FFFFFF
##1B70171.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1b7017;
/* rgb */ color: rgb(27, 112, 23);
/* oklch */ color: oklch(47.8% 0.146 142.4);
Tailwind
colors: {
  custom: {
    50: '#679a5b',
    500: '#1b7017',
    950: '#000000',
  },
}
SCSS
$custom: #1b7017;
$custom-light: #679a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7017",
  "rgb": {
    "r": 27,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 117.303,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47773,
    "c": 0.14556,
    "h": 142.4
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#1B7017
secondary
#A13DA6
accent
#3FE9E1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7017

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

Preview Lab → · Contrast checker → · Palette generator →

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