#1B6312#1B6312

#1B6312 is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.9% C 0.133 H 141.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#1B6312
RGBrgb(27, 99, 18)
HSLhsl(113, 69%, 23%)
HSVhsv(113, 82%, 39%)
CMYKcmyk(72.7%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.37, -38.09, 36.79)
CIE-LCHlch(36.37, 52.96, 135.99°)
OKLaboklab(43.89% -0.1039 0.0824)
OKLCHoklch(43.89% 0.133 141.6)
XYZxyz(5.0227, 9.1998, 2.0832)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6312 #5A1263
analogous
#436312 #1B6312 #126331
triadic
#1B6312 #121B63 #63121B
tetradic
#1B6312 #124363 #5A1263 #633112
square
#1B6312 #124363 #5A1263 #633112
split-complementary
#1B6312 #311263 #631243
monochromatic
#071A05 #0D2F09 #1B6312 #29971B #37CB25

Accessibility & contrast

On white

7.39
#1B6312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1B6312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B6312
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6312#FFFFFF#000000##FFFFFF
##1B63121.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665901
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#0A6054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1b6312;
/* rgb */ color: rgb(27, 99, 18);
/* oklch */ color: oklch(43.9% 0.133 141.6);
Tailwind
colors: {
  custom: {
    50: '#649057',
    500: '#1b6312',
    950: '#000000',
  },
}
SCSS
$custom: #1b6312;
$custom-light: #649057;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6312",
  "rgb": {
    "r": 27,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 113.333,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43893,
    "c": 0.13262,
    "h": 141.6
  },
  "luminance": 0.092
}

Semantic roles & 50–950 ramp

primary
#1B6312
secondary
#90369B
accent
#3CECD8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D03
muted
#7A7D78

Preview Lab

Preview with #1B6312

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

Preview Lab → · Contrast checker → · Palette generator →

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