#1B6827#1B6827

#1B6827 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.123 H 145.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#1B6827
RGBrgb(27, 104, 39)
HSLhsl(129, 59%, 26%)
HSVhsv(129, 74%, 41%)
CMYKcmyk(74%, 0%, 62.5%, 59.2%)
CIE-LABlab(38.34, -37.73, 29.50)
CIE-LCHlch(38.34, 47.90, 141.98°)
OKLaboklab(45.59% -0.1019 0.0697)
OKLCHoklch(45.59% 0.123 145.6)
XYZxyz(5.7681, 10.2795, 3.5992)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6827 #681B5C
analogous
#35681B #1B6827 #1B684D
triadic
#1B6827 #271B68 #68271B
tetradic
#1B6827 #1B3568 #681B5C #684D1B
square
#1B6827 #1B3568 #681B5C #684D1B
split-complementary
#1B6827 #4D1B68 #681B35
monochromatic
#061809 #0E3715 #1B6827 #289939 #34C94B

Accessibility & contrast

On white

6.87
#1B6827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1B6827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B6827
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6827#FFFFFF#000000##FFFFFF
##1B68271.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E20
Deuteranopia (green-blind)
#61582C
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b6827;
/* rgb */ color: rgb(27, 104, 39);
/* oklch */ color: oklch(45.6% 0.123 145.6);
Tailwind
colors: {
  custom: {
    50: '#649463',
    500: '#1b6827',
    950: '#000000',
  },
}
SCSS
$custom: #1b6827;
$custom-light: #649463;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6827",
  "rgb": {
    "r": 27,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 129.351,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45588,
    "c": 0.12341,
    "h": 145.6
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#1B6827
secondary
#9D428F
accent
#46CAE2
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #1B6827

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

Preview Lab → · Contrast checker → · Palette generator →

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