#1B6918#1B6918

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

Color values

HEX#1B6918
RGBrgb(27, 105, 24)
HSLhsl(118, 63%, 25%)
HSVhsv(118, 77%, 41%)
CMYKcmyk(74.3%, 0%, 77.1%, 58.8%)
CIE-LABlab(38.55, -39.80, 36.67)
CIE-LCHlch(38.55, 54.11, 137.35°)
OKLaboklab(45.72% -0.1082 0.083)
OKLCHoklch(45.72% 0.136 142.5)
XYZxyz(5.6681, 10.4015, 2.5729)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6918 #661869
analogous
#436918 #1B6918 #18693D
triadic
#1B6918 #181B69 #69181B
tetradic
#1B6918 #184369 #661869 #693D18
square
#1B6918 #184369 #661869 #693D18
split-complementary
#1B6918 #3D1869 #691843
monochromatic
#061906 #0E370D #1B6918 #289B23 #35CD2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B6918#FFFFFF#000000##FFFFFF
##1B69181.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)
#6B5F09
Deuteranopia (green-blind)
#635820
Tritanopia (blue-blind)
#046659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1b6918;
/* rgb */ color: rgb(27, 105, 24);
/* oklch */ color: oklch(45.7% 0.136 142.5);
Tailwind
colors: {
  custom: {
    50: '#65955b',
    500: '#1b6918',
    950: '#000000',
  },
}
SCSS
$custom: #1b6918;
$custom-light: #65955b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6918",
  "rgb": {
    "r": 27,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 117.778,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.1364,
    "h": 142.5
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#1B6918
secondary
#9B3E9F
accent
#42E6E0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1B6918

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

Preview Lab → · Contrast checker → · Palette generator →

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