#1B5E12#1B5E12

#1B5E12 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.126 H 141.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#1B5E12
RGBrgb(27, 94, 18)
HSLhsl(113, 68%, 22%)
HSVhsv(113, 81%, 37%)
CMYKcmyk(71.3%, 0%, 80.9%, 63.1%)
CIE-LABlab(34.56, -36.21, 35.03)
CIE-LCHlch(34.56, 50.38, 135.95°)
OKLaboklab(42.4% -0.0988 0.0787)
OKLCHoklch(42.4% 0.126 141.5)
XYZxyz(4.5636, 8.2816, 1.9302)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5E12 #55125E
analogous
#415E12 #1B5E12 #125E2F
triadic
#1B5E12 #121B5E #5E121B
tetradic
#1B5E12 #12415E #55125E #5E2F12
square
#1B5E12 #12415E #55125E #5E2F12
split-complementary
#1B5E12 #2F125E #5E1241
monochromatic
#071A05 #0C2B08 #1B5E12 #2A911C #39C526

Accessibility & contrast

On white

7.91
#1B5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1B5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5E12
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5E12#FFFFFF#000000##FFFFFF
##1B5E121.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605503
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#0D5B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b5e12;
/* rgb */ color: rgb(27, 94, 18);
/* oklch */ color: oklch(42.4% 0.126 141.5);
Tailwind
colors: {
  custom: {
    50: '#628c56',
    500: '#1b5e12',
    950: '#000000',
  },
}
SCSS
$custom: #1b5e12;
$custom-light: #628c56;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5e12",
  "rgb": {
    "r": 27,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 112.895,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42397,
    "c": 0.12637,
    "h": 141.5
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#1B5E12
secondary
#8B3596
accent
#3DEBD6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1B5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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