#1B6828#1B6828

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

Color values

HEX#1B6828
RGBrgb(27, 104, 40)
HSLhsl(130, 59%, 26%)
HSVhsv(130, 74%, 41%)
CMYKcmyk(74%, 0%, 61.5%, 59.2%)
CIE-LABlab(38.35, -37.59, 29.00)
CIE-LCHlch(38.35, 47.48, 142.35°)
OKLaboklab(45.6% -0.1015 0.0687)
OKLCHoklch(45.6% 0.123 145.9)
XYZxyz(5.7849, 10.2862, 3.6876)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6828 #681B5B
analogous
#34681B #1B6828 #1B684E
triadic
#1B6828 #281B68 #68281B
tetradic
#1B6828 #1B3468 #681B5B #684E1B
square
#1B6828 #1B3468 #681B5B #684E1B
split-complementary
#1B6828 #4E1B68 #681B34
monochromatic
#061809 #0E3715 #1B6828 #28993B #34C94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B6828#FFFFFF#000000##FFFFFF
##1B68281.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)
#6A5E22
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b6828;
/* rgb */ color: rgb(27, 104, 40);
/* oklch */ color: oklch(45.6% 0.123 145.9);
Tailwind
colors: {
  custom: {
    50: '#649464',
    500: '#1b6828',
    950: '#000000',
  },
}
SCSS
$custom: #1b6828;
$custom-light: #649464;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6828",
  "rgb": {
    "r": 27,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 130.13,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.12251,
    "h": 145.9
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#1B6828
secondary
#9D428E
accent
#46C8E2
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #1B6828

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

Preview Lab → · Contrast checker → · Palette generator →

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