#1B562E#1B562E

#1B562E is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.090 H 150.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#1B562E
RGBrgb(27, 86, 46)
HSLhsl(139, 52%, 22%)
HSVhsv(139, 69%, 34%)
CMYKcmyk(68.6%, 0%, 46.5%, 66.3%)
CIE-LABlab(32.00, -29.12, 17.82)
CIE-LCHlch(32.00, 34.14, 148.53°)
OKLaboklab(40.39% -0.0786 0.044)
OKLCHoklch(40.39% 0.09 150.8)
XYZxyz(4.2726, 7.0854, 3.7267)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B562E #561B43
analogous
#26561B #1B562E #1B564C
triadic
#1B562E #2E1B56 #562E1B
tetradic
#1B562E #1B2656 #561B43 #564C1B
square
#1B562E #1B2656 #561B43 #564C1B
split-complementary
#1B562E #4C1B56 #561B26
monochromatic
#07170C #0C2715 #1B562E #2A8547 #38B360

Accessibility & contrast

On white

8.69
#1B562E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1B562E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B562E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B562E#FFFFFF#000000##FFFFFF
##1B562E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2B
Deuteranopia (green-blind)
#4F4931
Tritanopia (blue-blind)
#06554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b562e;
/* rgb */ color: rgb(27, 86, 46);
/* oklch */ color: oklch(40.4% 0.090 150.8);
Tailwind
colors: {
  custom: {
    50: '#5f8667',
    500: '#1b562e',
    950: '#000000',
  },
}
SCSS
$custom: #1b562e;
$custom-light: #5f8667;
$custom-dark: #000000;
JSON
{
  "hex": "#1b562e",
  "rgb": {
    "r": 27,
    "g": 86,
    "b": 46
  },
  "hsl": {
    "h": 139.322,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40388,
    "c": 0.0901,
    "h": 150.8
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#1B562E
secondary
#8C4174
accent
#4CADDC
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1B562E

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

Preview Lab → · Contrast checker → · Palette generator →

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