#1B541B#1B541B

#1B541B is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.106 H 143.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1B541B
RGBrgb(27, 84, 27)
HSLhsl(120, 51%, 22%)
HSVhsv(120, 68%, 33%)
CMYKcmyk(67.9%, 0%, 67.9%, 67.1%)
CIE-LABlab(31.00, -31.33, 27.24)
CIE-LCHlch(31.00, 41.51, 138.99°)
OKLaboklab(39.48% -0.0851 0.0636)
OKLCHoklch(39.48% 0.106 143.2)
XYZxyz(3.8199, 6.6524, 2.1194)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B541B #541B54
analogous
#38541B #1B541B #1B5438
triadic
#1B541B #1B1B54 #541B1B
tetradic
#1B541B #1B3854 #541B54 #54381B
square
#1B541B #1B3854 #541B54 #54381B
split-complementary
#1B541B #381B54 #541B38
monochromatic
#071707 #0C260C #1B541B #2A822A #39B139

Accessibility & contrast

On white

9.01
#1B541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1B541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B541B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B541B#FFFFFF#000000##FFFFFF
##1B541B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C14
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#105148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b541b;
/* rgb */ color: rgb(27, 84, 27);
/* oklch */ color: oklch(39.5% 0.106 143.2);
Tailwind
colors: {
  custom: {
    50: '#5f855a',
    500: '#1b541b',
    950: '#000000',
  },
}
SCSS
$custom: #1b541b;
$custom-light: #5f855a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b541b",
  "rgb": {
    "r": 27,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.10622,
    "h": 143.2
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B541B

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

Preview Lab → · Contrast checker → · Palette generator →

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