#1B5712#1B5712

#1B5712 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.117 H 141.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#1B5712
RGBrgb(27, 87, 18)
HSLhsl(112, 66%, 21%)
HSVhsv(112, 79%, 34%)
CMYKcmyk(69%, 0%, 79.3%, 65.9%)
CIE-LABlab(32.02, -33.50, 32.49)
CIE-LCHlch(32.02, 46.67, 135.88°)
OKLaboklab(40.29% -0.0915 0.0734)
OKLCHoklch(40.29% 0.117 141.3)
XYZxyz(3.9692, 7.0927, 1.7320)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5712 #4E1257
analogous
#3D5712 #1B5712 #12572B
triadic
#1B5712 #121B57 #57121B
tetradic
#1B5712 #123D57 #4E1257 #572B12
square
#1B5712 #123D57 #4E1257 #572B12
split-complementary
#1B5712 #2B1257 #57123D
monochromatic
#081905 #0B2408 #1B5712 #2B8A1C #3ABC27

Accessibility & contrast

On white

8.68
#1B5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1B5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5712
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5712#FFFFFF#000000##FFFFFF
##1B57121.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#10544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b5712;
/* rgb */ color: rgb(27, 87, 18);
/* oklch */ color: oklch(40.3% 0.117 141.3);
Tailwind
colors: {
  custom: {
    50: '#618755',
    500: '#1b5712',
    950: '#000000',
  },
}
SCSS
$custom: #1b5712;
$custom-light: #618755;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5712",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 112.174,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.11734,
    "h": 141.3
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#1B5712
secondary
#843590
accent
#3FE9D3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1B5712

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

Preview Lab → · Contrast checker → · Palette generator →

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