#1B6817#1B6817

#1B6817 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.136 H 142.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#1B6817
RGBrgb(27, 104, 23)
HSLhsl(117, 64%, 25%)
HSVhsv(117, 78%, 41%)
CMYKcmyk(74%, 0%, 77.9%, 59.2%)
CIE-LABlab(38.19, -39.52, 36.70)
CIE-LCHlch(38.19, 53.93, 137.12°)
OKLaboklab(45.42% -0.1075 0.083)
OKLCHoklch(45.42% 0.136 142.3)
XYZxyz(5.5566, 10.1949, 2.4854)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6817 #641768
analogous
#446817 #1B6817 #17683C
triadic
#1B6817 #171B68 #68171B
tetradic
#1B6817 #174468 #641768 #683C17
square
#1B6817 #174468 #641768 #683C17
split-complementary
#1B6817 #3C1768 #681744
monochromatic
#071906 #0E360C #1B6817 #289A22 #35CC2D

Accessibility & contrast

On white

6.91
#1B6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#1B6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B6817
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6817#FFFFFF#000000##FFFFFF
##1B68171.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#056558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b6817;
/* rgb */ color: rgb(27, 104, 23);
/* oklch */ color: oklch(45.4% 0.136 142.3);
Tailwind
colors: {
  custom: {
    50: '#65945a',
    500: '#1b6817',
    950: '#000000',
  },
}
SCSS
$custom: #1b6817;
$custom-light: #65945a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6817",
  "rgb": {
    "r": 27,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 117.037,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45416,
    "c": 0.1358,
    "h": 142.3
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#1B6817
secondary
#993D9E
accent
#41E7DF
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1B6817

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

Preview Lab → · Contrast checker → · Palette generator →

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