#1B5811#1B5811

#1B5811 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.119 H 141.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1B5811
RGBrgb(27, 88, 17)
HSLhsl(112, 68%, 21%)
HSVhsv(112, 81%, 35%)
CMYKcmyk(69.3%, 0%, 80.7%, 65.5%)
CIE-LABlab(32.38, -33.98, 33.25)
CIE-LCHlch(32.38, 47.54, 135.62°)
OKLaboklab(40.58% -0.0929 0.0749)
OKLCHoklch(40.58% 0.119 141.1)
XYZxyz(4.0427, 7.2525, 1.7170)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5811 #4E1158
analogous
#3E5811 #1B5811 #11582A
triadic
#1B5811 #111B58 #58111B
tetradic
#1B5811 #113E58 #4E1158 #582A11
square
#1B5811 #113E58 #4E1158 #582A11
split-complementary
#1B5811 #2A1158 #58113E
monochromatic
#081A05 #0B2507 #1B5811 #2B8B1B #3ABF25

Accessibility & contrast

On white

8.57
#1B5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1B5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5811
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5811#FFFFFF#000000##FFFFFF
##1B58111.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#10554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b5811;
/* rgb */ color: rgb(27, 88, 17);
/* oklch */ color: oklch(40.6% 0.119 141.1);
Tailwind
colors: {
  custom: {
    50: '#618855',
    500: '#1b5811',
    950: '#000000',
  },
}
SCSS
$custom: #1b5811;
$custom-light: #618855;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5811",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 111.549,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40583,
    "c": 0.11929,
    "h": 141.1
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#1B5811
secondary
#843491
accent
#3DEAD2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1B5811

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

Preview Lab → · Contrast checker → · Palette generator →

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