#1B6512#1B6512

#1B6512 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.5% C 0.135 H 141.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#1B6512
RGBrgb(27, 101, 18)
HSLhsl(113, 70%, 23%)
HSVhsv(113, 82%, 40%)
CMYKcmyk(73.3%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.08, -38.82, 37.49)
CIE-LCHlch(37.08, 53.97, 136.00°)
OKLaboklab(44.49% -0.1059 0.0839)
OKLCHoklch(44.49% 0.135 141.6)
XYZxyz(5.2146, 9.5835, 2.1471)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6512 #5C1265
analogous
#446512 #1B6512 #126532
triadic
#1B6512 #121B65 #65121B
tetradic
#1B6512 #124465 #5C1265 #653212
square
#1B6512 #124465 #5C1265 #653212
split-complementary
#1B6512 #321265 #651244
monochromatic
#071A05 #0D3109 #1B6512 #29991B #37CD25

Accessibility & contrast

On white

7.20
#1B6512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1B6512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B6512
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6512#FFFFFF#000000##FFFFFF
##1B65121.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#096255
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b6512;
/* rgb */ color: rgb(27, 101, 18);
/* oklch */ color: oklch(44.5% 0.135 141.6);
Tailwind
colors: {
  custom: {
    50: '#649257',
    500: '#1b6512',
    950: '#000000',
  },
}
SCSS
$custom: #1b6512;
$custom-light: #649257;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6512",
  "rgb": {
    "r": 27,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 113.494,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44489,
    "c": 0.13507,
    "h": 141.6
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#1B6512
secondary
#92369D
accent
#3BEDD9
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1B6512

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

Preview Lab → · Contrast checker → · Palette generator →

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