#1B5612#1B5612

#1B5612 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.116 H 141.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#1B5612
RGBrgb(27, 86, 18)
HSLhsl(112, 65%, 20%)
HSVhsv(112, 79%, 34%)
CMYKcmyk(68.6%, 0%, 79.1%, 66.3%)
CIE-LABlab(31.65, -33.10, 32.12)
CIE-LCHlch(31.65, 46.12, 135.86°)
OKLaboklab(39.99% -0.0904 0.0727)
OKLCHoklch(39.99% 0.116 141.2)
XYZxyz(3.8888, 6.9319, 1.7052)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5612 #4D1256
analogous
#3D5612 #1B5612 #12562B
triadic
#1B5612 #121B56 #56121B
tetradic
#1B5612 #123D56 #4D1256 #562B12
square
#1B5612 #123D56 #4D1256 #562B12
split-complementary
#1B5612 #2B1256 #56123D
monochromatic
#081905 #0B2307 #1B5612 #2B891D #3BBB27

Accessibility & contrast

On white

8.80
#1B5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1B5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5612
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5612#FFFFFF#000000##FFFFFF
##1B56121.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#115349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b5612;
/* rgb */ color: rgb(27, 86, 18);
/* oklch */ color: oklch(40.0% 0.116 141.2);
Tailwind
colors: {
  custom: {
    50: '#608655',
    500: '#1b5612',
    950: '#000000',
  },
}
SCSS
$custom: #1b5612;
$custom-light: #608655;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5612",
  "rgb": {
    "r": 27,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 112.059,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.11602,
    "h": 141.2
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#1B5612
secondary
#83358F
accent
#3FE8D2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1B5612

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

Preview Lab → · Contrast checker → · Palette generator →

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