#1A562C#1A562C

#1A562C is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.093 H 149.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#1A562C
RGBrgb(26, 86, 44)
HSLhsl(138, 54%, 22%)
HSVhsv(138, 70%, 34%)
CMYKcmyk(69.8%, 0%, 48.8%, 66.3%)
CIE-LABlab(31.94, -29.74, 18.92)
CIE-LCHlch(31.94, 35.24, 147.53°)
OKLaboklab(40.31% -0.0802 0.0465)
OKLCHoklch(40.31% 0.093 149.9)
XYZxyz(4.2081, 7.0566, 3.5227)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A562C #561A44
analogous
#26561A #1A562C #1A564A
triadic
#1A562C #2C1A56 #562C1A
tetradic
#1A562C #1A2656 #561A44 #564A1A
square
#1A562C #1A2656 #561A44 #564A1A
split-complementary
#1A562C #4A1A56 #561A26
monochromatic
#07170C #0C2714 #1A562C #288544 #36B45C

Accessibility & contrast

On white

8.71
#1A562C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1A562C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A562C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A562C#FFFFFF#000000##FFFFFF
##1A562C1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E29
Deuteranopia (green-blind)
#4F492F
Tritanopia (blue-blind)
#04544C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a562c;
/* rgb */ color: rgb(26, 86, 44);
/* oklch */ color: oklch(40.3% 0.093 149.9);
Tailwind
colors: {
  custom: {
    50: '#5f8666',
    500: '#1a562c',
    950: '#000000',
  },
}
SCSS
$custom: #1a562c;
$custom-light: #5f8666;
$custom-dark: #000000;
JSON
{
  "hex": "#1a562c",
  "rgb": {
    "r": 26,
    "g": 86,
    "b": 44
  },
  "hsl": {
    "h": 138,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40314,
    "c": 0.09271,
    "h": 149.9
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#1A562C
secondary
#8C4075
accent
#4BB1DD
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1A562C

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

Preview Lab → · Contrast checker → · Palette generator →

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