#1B5915#1B5915

#1B5915 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.118 H 141.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1B5915
RGBrgb(27, 89, 21)
HSLhsl(115, 62%, 22%)
HSVhsv(115, 76%, 35%)
CMYKcmyk(69.7%, 0%, 76.4%, 65.1%)
CIE-LABlab(32.77, -34.01, 31.99)
CIE-LCHlch(32.77, 46.69, 136.76°)
OKLaboklab(40.92% -0.0927 0.0728)
OKLCHoklch(40.92% 0.118 141.9)
XYZxyz(4.1595, 7.4315, 1.9245)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5915 #531559
analogous
#3D5915 #1B5915 #155931
triadic
#1B5915 #151B59 #59151B
tetradic
#1B5915 #153D59 #531559 #593115
square
#1B5915 #153D59 #531559 #593115
split-complementary
#1B5915 #311559 #59153D
monochromatic
#081906 #0C2709 #1B5915 #2A8B21 #39BC2C

Accessibility & contrast

On white

8.45
#1B5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5915
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5915#FFFFFF#000000##FFFFFF
##1B59151.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500A
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#0F564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b5915;
/* rgb */ color: rgb(27, 89, 21);
/* oklch */ color: oklch(40.9% 0.118 141.9);
Tailwind
colors: {
  custom: {
    50: '#618957',
    500: '#1b5915',
    950: '#000000',
  },
}
SCSS
$custom: #1b5915;
$custom-light: #618957;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5915",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 114.706,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40919,
    "c": 0.11791,
    "h": 141.9
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#1B5915
secondary
#893991
accent
#43E5D7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1B5915

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

Preview Lab → · Contrast checker → · Palette generator →

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