#1B6818#1B6818

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

Color values

HEX#1B6818
RGBrgb(27, 104, 24)
HSLhsl(118, 63%, 25%)
HSVhsv(118, 77%, 41%)
CMYKcmyk(74%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.20, -39.43, 36.30)
CIE-LCHlch(38.20, 53.60, 137.37°)
OKLaboklab(45.43% -0.1072 0.0823)
OKLCHoklch(45.43% 0.135 142.5)
XYZxyz(5.5669, 10.1990, 2.5392)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6818 #651868
analogous
#436818 #1B6818 #18683D
triadic
#1B6818 #181B68 #68181B
tetradic
#1B6818 #184368 #651868 #683D18
square
#1B6818 #184368 #651868 #683D18
split-complementary
#1B6818 #3D1868 #681843
monochromatic
#061906 #0E360D #1B6818 #289A23 #35CB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B6818#FFFFFF#000000##FFFFFF
##1B68181.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)
#6A5E0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#056558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b6818;
/* rgb */ color: rgb(27, 104, 24);
/* oklch */ color: oklch(45.4% 0.135 142.5);
Tailwind
colors: {
  custom: {
    50: '#65945b',
    500: '#1b6818',
    950: '#000000',
  },
}
SCSS
$custom: #1b6818;
$custom-light: #65945b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6818",
  "rgb": {
    "r": 27,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 117.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45425,
    "c": 0.13515,
    "h": 142.5
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#1B6818
secondary
#9A3E9E
accent
#42E6DF
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1B6818

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

Preview Lab → · Contrast checker → · Palette generator →

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