#1B5115#1B5115

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

Color values

HEX#1B5115
RGBrgb(27, 81, 21)
HSLhsl(114, 59%, 20%)
HSVhsv(114, 74%, 32%)
CMYKcmyk(66.7%, 0%, 74.1%, 68.2%)
CIE-LABlab(29.84, -30.78, 28.91)
CIE-LCHlch(29.84, 42.23, 136.80°)
OKLaboklab(38.5% -0.084 0.0664)
OKLCHoklch(38.5% 0.107 141.7)
XYZxyz(3.5296, 6.1717, 1.7146)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5115 #4B1551
analogous
#395115 #1B5115 #15512D
triadic
#1B5115 #151B51 #51151B
tetradic
#1B5115 #153951 #4B1551 #512D15
square
#1B5115 #153951 #4B1551 #512D15
split-complementary
#1B5115 #2D1551 #511539
monochromatic
#081806 #0B2008 #1B5115 #2B8222 #3BB22E

Accessibility & contrast

On white

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

On black

2.23
#1B5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B5115#FFFFFF#000000##FFFFFF
##1B51151.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b5115;
/* rgb */ color: rgb(27, 81, 21);
/* oklch */ color: oklch(38.5% 0.107 141.7);
Tailwind
colors: {
  custom: {
    50: '#5f8256',
    500: '#1b5115',
    950: '#000000',
  },
}
SCSS
$custom: #1b5115;
$custom-light: #5f8256;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5115",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 114,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38498,
    "c": 0.10703,
    "h": 141.7
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#1B5115
secondary
#813989
accent
#46E2D2
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B5115

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

Preview Lab → · Contrast checker → · Palette generator →

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