#1B5918#1B5918

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

Color values

HEX#1B5918
RGBrgb(27, 89, 24)
HSLhsl(117, 58%, 22%)
HSVhsv(117, 73%, 35%)
CMYKcmyk(69.7%, 0%, 73%, 65.1%)
CIE-LABlab(32.80, -33.71, 30.67)
CIE-LCHlch(32.80, 45.57, 137.71°)
OKLaboklab(40.95% -0.0917 0.0705)
OKLCHoklch(40.95% 0.116 142.5)
XYZxyz(4.1890, 7.4433, 2.0799)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5918 #561859
analogous
#3C5918 #1B5918 #185936
triadic
#1B5918 #181B59 #59181B
tetradic
#1B5918 #183C59 #561859 #593618
square
#1B5918 #183C59 #561859 #593618
split-complementary
#1B5918 #361859 #59183C
monochromatic
#071806 #0C290B #1B5918 #2A8925 #38B932

Accessibility & contrast

On white

8.44
#1B5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5918
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5918#FFFFFF#000000##FFFFFF
##1B59181.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#544B1E
Tritanopia (blue-blind)
#0E564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b5918;
/* rgb */ color: rgb(27, 89, 24);
/* oklch */ color: oklch(40.9% 0.116 142.5);
Tailwind
colors: {
  custom: {
    50: '#618959',
    500: '#1b5918',
    950: '#000000',
  },
}
SCSS
$custom: #1b5918;
$custom-light: #618959;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5918",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 117.231,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.11567,
    "h": 142.5
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#1B5918
secondary
#8C3D90
accent
#47E1DA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1B5918

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

Preview Lab → · Contrast checker → · Palette generator →

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