#1B5116#1B5116

#1B5116 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.106 H 141.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#1B5116
RGBrgb(27, 81, 22)
HSLhsl(115, 57%, 20%)
HSVhsv(115, 73%, 32%)
CMYKcmyk(66.7%, 0%, 72.8%, 68.2%)
CIE-LABlab(29.85, -30.67, 28.44)
CIE-LCHlch(29.85, 41.83, 137.16°)
OKLaboklab(38.51% -0.0836 0.0655)
OKLCHoklch(38.51% 0.106 141.9)
XYZxyz(3.5391, 6.1755, 1.7644)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5116 #4C1651
analogous
#395116 #1B5116 #16512E
triadic
#1B5116 #161B51 #51161B
tetradic
#1B5116 #163951 #4C1651 #512E16
square
#1B5116 #163951 #4C1651 #512E16
split-complementary
#1B5116 #2E1651 #511639
monochromatic
#081807 #0B2109 #1B5116 #2B8123 #3BB130

Accessibility & contrast

On white

9.40
#1B5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5116
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5116#FFFFFF#000000##FFFFFF
##1B51161.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4C451B
Tritanopia (blue-blind)
#124E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b5116;
/* rgb */ color: rgb(27, 81, 22);
/* oklch */ color: oklch(38.5% 0.106 141.9);
Tailwind
colors: {
  custom: {
    50: '#5f8256',
    500: '#1b5116',
    950: '#000000',
  },
}
SCSS
$custom: #1b5116;
$custom-light: #5f8256;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5116",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 114.915,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.10622,
    "h": 141.9
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#1B5116
secondary
#823A88
accent
#47E1D4
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B5116

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

Preview Lab → · Contrast checker → · Palette generator →

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