#1B6012#1B6012

#1B6012 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.0% C 0.129 H 141.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#1B6012
RGBrgb(27, 96, 18)
HSLhsl(113, 68%, 22%)
HSVhsv(113, 81%, 38%)
CMYKcmyk(71.9%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.29, -36.97, 35.74)
CIE-LCHlch(35.29, 51.42, 135.97°)
OKLaboklab(43% -0.1009 0.0802)
OKLCHoklch(43% 0.129 141.5)
XYZxyz(4.7438, 8.6419, 1.9902)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6012 #571260
analogous
#426012 #1B6012 #126030
triadic
#1B6012 #121B60 #60121B
tetradic
#1B6012 #124260 #571260 #603012
square
#1B6012 #124260 #571260 #603012
split-complementary
#1B6012 #301260 #601242
monochromatic
#071A05 #0D2C08 #1B6012 #29941C #38C725

Accessibility & contrast

On white

7.70
#1B6012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1B6012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B6012
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6012#FFFFFF#000000##FFFFFF
##1B60121.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635602
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#0C5D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b6012;
/* rgb */ color: rgb(27, 96, 18);
/* oklch */ color: oklch(43.0% 0.129 141.5);
Tailwind
colors: {
  custom: {
    50: '#638e56',
    500: '#1b6012',
    950: '#000000',
  },
}
SCSS
$custom: #1b6012;
$custom-light: #638e56;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6012",
  "rgb": {
    "r": 27,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 113.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42997,
    "c": 0.12889,
    "h": 141.5
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#1B6012
secondary
#8D3698
accent
#3DEBD7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1B6012

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

Preview Lab → · Contrast checker → · Palette generator →

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