#1B6812#1B6812

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

Color values

HEX#1B6812
RGBrgb(27, 104, 18)
HSLhsl(114, 70%, 24%)
HSVhsv(114, 83%, 41%)
CMYKcmyk(74%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.16, -39.91, 38.52)
CIE-LCHlch(38.16, 55.47, 136.01°)
OKLaboklab(45.38% -0.1088 0.086)
OKLCHoklch(45.38% 0.139 141.7)
XYZxyz(5.5112, 10.1767, 2.2460)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6812 #5F1268
analogous
#466812 #1B6812 #126834
triadic
#1B6812 #121B68 #68121B
tetradic
#1B6812 #124668 #5F1268 #683412
square
#1B6812 #124668 #5F1268 #683412
split-complementary
#1B6812 #341268 #681246
monochromatic
#071A05 #0D3409 #1B6812 #299C1B #36D024

Accessibility & contrast

On white

6.92
#1B6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B6812
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6812#FFFFFF#000000##FFFFFF
##1B68121.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#076558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b6812;
/* rgb */ color: rgb(27, 104, 18);
/* oklch */ color: oklch(45.4% 0.139 141.7);
Tailwind
colors: {
  custom: {
    50: '#659458',
    500: '#1b6812',
    950: '#000000',
  },
}
SCSS
$custom: #1b6812;
$custom-light: #659458;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6812",
  "rgb": {
    "r": 27,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 113.721,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.13873,
    "h": 141.7
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#1B6812
secondary
#9536A0
accent
#3BEDDB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1B6812

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

Preview Lab → · Contrast checker → · Palette generator →

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