#1B542E#1B542E

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

Color values

HEX#1B542E
RGBrgb(27, 84, 46)
HSLhsl(140, 51%, 22%)
HSVhsv(140, 68%, 33%)
CMYKcmyk(67.9%, 0%, 45.2%, 67.1%)
CIE-LABlab(31.28, -28.22, 16.89)
CIE-LCHlch(31.28, 32.88, 149.10°)
OKLaboklab(39.79% -0.0762 0.0418)
OKLCHoklch(39.79% 0.087 151.3)
XYZxyz(4.1151, 6.7705, 3.6742)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B542E #541B41
analogous
#25541B #1B542E #1B544B
triadic
#1B542E #2E1B54 #542E1B
tetradic
#1B542E #1B2554 #541B41 #544B1B
square
#1B542E #1B2554 #541B41 #544B1B
split-complementary
#1B542E #4B1B54 #541B25
monochromatic
#07170D #0C2615 #1B542E #2A8247 #39B161

Accessibility & contrast

On white

8.92
#1B542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1B542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B542E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B542E#FFFFFF#000000##FFFFFF
##1B542E1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2B
Deuteranopia (green-blind)
#4D4831
Tritanopia (blue-blind)
#07534B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b542e;
/* rgb */ color: rgb(27, 84, 46);
/* oklch */ color: oklch(39.8% 0.087 151.3);
Tailwind
colors: {
  custom: {
    50: '#5f8567',
    500: '#1b542e',
    950: '#000000',
  },
}
SCSS
$custom: #1b542e;
$custom-light: #5f8567;
$custom-dark: #000000;
JSON
{
  "hex": "#1b542e",
  "rgb": {
    "r": 27,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 140,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39794,
    "c": 0.08695,
    "h": 151.3
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#1B542E
secondary
#8A4172
accent
#4DACDB
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1B542E

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

Preview Lab → · Contrast checker → · Palette generator →

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