#1B6917#1B6917

#1B6917 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.7% C 0.137 H 142.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#1B6917
RGBrgb(27, 105, 23)
HSLhsl(117, 64%, 25%)
HSVhsv(117, 78%, 41%)
CMYKcmyk(74.3%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.55, -39.89, 37.06)
CIE-LCHlch(38.55, 54.44, 137.11°)
OKLaboklab(45.71% -0.1085 0.0837)
OKLCHoklch(45.71% 0.137 142.3)
XYZxyz(5.6579, 10.3974, 2.5192)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6917 #651769
analogous
#446917 #1B6917 #17693C
triadic
#1B6917 #171B69 #69171B
tetradic
#1B6917 #174469 #651769 #693C17
square
#1B6917 #174469 #651769 #693C17
split-complementary
#1B6917 #3C1769 #691744
monochromatic
#061905 #0E370C #1B6917 #289B22 #35CD2D

Accessibility & contrast

On white

6.82
#1B6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#1B6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B6917
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6917#FFFFFF#000000##FFFFFF
##1B69171.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E07
Deuteranopia (green-blind)
#635820
Tritanopia (blue-blind)
#056659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1b6917;
/* rgb */ color: rgb(27, 105, 23);
/* oklch */ color: oklch(45.7% 0.137 142.3);
Tailwind
colors: {
  custom: {
    50: '#65955a',
    500: '#1b6917',
    950: '#000000',
  },
}
SCSS
$custom: #1b6917;
$custom-light: #65955a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6917",
  "rgb": {
    "r": 27,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 117.073,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.13704,
    "h": 142.3
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#1B6917
secondary
#9A3D9F
accent
#41E7DF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1B6917

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

Preview Lab → · Contrast checker → · Palette generator →

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