#1B562F#1B562F

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

Color values

HEX#1B562F
RGBrgb(27, 86, 47)
HSLhsl(140, 52%, 22%)
HSVhsv(140, 69%, 34%)
CMYKcmyk(68.6%, 0%, 45.3%, 66.3%)
CIE-LABlab(32.02, -28.92, 17.25)
CIE-LCHlch(32.02, 33.67, 149.18°)
OKLaboklab(40.41% -0.0781 0.0427)
OKLCHoklch(40.41% 0.089 151.3)
XYZxyz(4.2925, 7.0934, 3.8317)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B562F #561B42
analogous
#25561B #1B562F #1B564D
triadic
#1B562F #2F1B56 #562F1B
tetradic
#1B562F #1B2556 #561B42 #564D1B
square
#1B562F #1B2556 #561B42 #564D1B
split-complementary
#1B562F #4D1B56 #561B25
monochromatic
#07170D #0C2716 #1B562F #2A8548 #38B362

Accessibility & contrast

On white

8.68
#1B562F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B562F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B562F#FFFFFF#000000##FFFFFF
##1B562F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F2C
Deuteranopia (green-blind)
#4F4932
Tritanopia (blue-blind)
#05554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b562f;
/* rgb */ color: rgb(27, 86, 47);
/* oklch */ color: oklch(40.4% 0.089 151.3);
Tailwind
colors: {
  custom: {
    50: '#5f8668',
    500: '#1b562f',
    950: '#000000',
  },
}
SCSS
$custom: #1b562f;
$custom-light: #5f8668;
$custom-dark: #000000;
JSON
{
  "hex": "#1b562f",
  "rgb": {
    "r": 27,
    "g": 86,
    "b": 47
  },
  "hsl": {
    "h": 140.339,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40408,
    "c": 0.08902,
    "h": 151.3
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#1B562F
secondary
#8C4172
accent
#4CABDC
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1B562F

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

Preview Lab → · Contrast checker → · Palette generator →

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