#1B5111#1B5111

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

Color values

HEX#1B5111
RGBrgb(27, 81, 17)
HSLhsl(111, 65%, 19%)
HSVhsv(111, 79%, 32%)
CMYKcmyk(66.7%, 0%, 79%, 68.2%)
CIE-LABlab(29.81, -31.17, 30.67)
CIE-LCHlch(29.81, 43.73, 135.47°)
OKLaboklab(38.46% -0.0853 0.0695)
OKLCHoklch(38.46% 0.11 140.8)
XYZxyz(3.4954, 6.1580, 1.5346)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5111 #471151
analogous
#3B5111 #1B5111 #115127
triadic
#1B5111 #111B51 #51111B
tetradic
#1B5111 #113B51 #471151 #512711
square
#1B5111 #113B51 #471151 #512711
split-complementary
#1B5111 #271151 #51113B
monochromatic
#081905 #0A1E06 #1B5111 #2C841C #3DB626

Accessibility & contrast

On white

9.41
#1B5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5111
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5111#FFFFFF#000000##FFFFFF
##1B51111.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534906
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#134E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b5111;
/* rgb */ color: rgb(27, 81, 17);
/* oklch */ color: oklch(38.5% 0.110 140.8);
Tailwind
colors: {
  custom: {
    50: '#5f8254',
    500: '#1b5111',
    950: '#000000',
  },
}
SCSS
$custom: #1b5111;
$custom-light: #5f8254;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5111",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 110.625,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38459,
    "c": 0.11,
    "h": 140.8
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#1B5111
secondary
#7D348A
accent
#40E8CE
background
#F5F8F4
surface
#EAEFE8
border
#C6CAC4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B5111

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

Preview Lab → · Contrast checker → · Palette generator →

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