#40561A#40561A

#40561A is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.1% C 0.089 H 127.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#40561A
RGBrgb(64, 86, 26)
HSLhsl(82, 54%, 22%)
HSVhsv(82, 70%, 34%)
CMYKcmyk(25.6%, 0%, 69.8%, 66.3%)
CIE-LABlab(33.61, -18.93, 31.14)
CIE-LCHlch(33.61, 36.44, 121.29°)
OKLaboklab(42.12% -0.0539 0.0712)
OKLCHoklch(42.12% 0.089 127.1)
XYZxyz(5.6286, 7.8201, 2.1900)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40561A #301A56
analogous
#564E1A #40561A #22561A
triadic
#40561A #1A4056 #561A40
tetradic
#40561A #1A564E #301A56 #561A22
square
#40561A #1A564E #301A56 #561A22
split-complementary
#40561A #1A2256 #4E1A56
monochromatic
#111707 #1D270C #40561A #638528 #86B436

Accessibility & contrast

On white

8.19
#40561A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#40561A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40561A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40561A#FFFFFF#000000##FFFFFF
##40561A1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5012
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#43524A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #40561a;
/* rgb */ color: rgb(64, 86, 26);
/* oklch */ color: oklch(42.1% 0.089 127.1);
Tailwind
colors: {
  custom: {
    50: '#77855a',
    500: '#40561a',
    950: '#000000',
  },
}
SCSS
$custom: #40561a;
$custom-light: #77855a;
$custom-dark: #000000;
JSON
{
  "hex": "#40561a",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 26
  },
  "hsl": {
    "h": 82,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42118,
    "c": 0.08933,
    "h": 127.1
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#40561A
secondary
#5C408C
accent
#4BDD80
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #40561A

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

Preview Lab → · Contrast checker → · Palette generator →

#40561A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva