#1B551B#1B551B

#1B551B is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.108 H 143.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#1B551B
RGBrgb(27, 85, 27)
HSLhsl(120, 52%, 22%)
HSVhsv(120, 68%, 33%)
CMYKcmyk(68.2%, 0%, 68.2%, 66.7%)
CIE-LABlab(31.37, -31.74, 27.65)
CIE-LCHlch(31.37, 42.10, 138.94°)
OKLaboklab(39.78% -0.0862 0.0644)
OKLCHoklch(39.78% 0.108 143.2)
XYZxyz(3.8981, 6.8088, 2.1455)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B551B #551B55
analogous
#38551B #1B551B #1B5538
triadic
#1B551B #1B1B55 #551B1B
tetradic
#1B551B #1B3855 #551B55 #55381B
square
#1B551B #1B3855 #551B55 #55381B
split-complementary
#1B551B #381B55 #551B38
monochromatic
#071707 #0C270C #1B551B #2A832A #39B239

Accessibility & contrast

On white

8.89
#1B551B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1B551B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B551B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B551B#FFFFFF#000000##FFFFFF
##1B551B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D14
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#0F5249
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b551b;
/* rgb */ color: rgb(27, 85, 27);
/* oklch */ color: oklch(39.8% 0.108 143.2);
Tailwind
colors: {
  custom: {
    50: '#60855a',
    500: '#1b551b',
    950: '#000000',
  },
}
SCSS
$custom: #1b551b;
$custom-light: #60855a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b551b",
  "rgb": {
    "r": 27,
    "g": 85,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 51.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.39778,
    "c": 0.10765,
    "h": 143.2
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#1B551B
secondary
#8B418B
accent
#4DDBDB
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1B551B

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

Preview Lab → · Contrast checker → · Palette generator →

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