#40561E#40561E

#40561E is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.2% C 0.086 H 127.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#40561E
RGBrgb(64, 86, 30)
HSLhsl(84, 48%, 23%)
HSVhsv(84, 65%, 34%)
CMYKcmyk(25.6%, 0%, 65.1%, 66.3%)
CIE-LABlab(33.65, -18.55, 29.19)
CIE-LCHlch(33.65, 34.59, 122.43°)
OKLaboklab(42.16% -0.0524 0.0677)
OKLCHoklch(42.16% 0.086 127.8)
XYZxyz(5.6765, 7.8392, 2.4421)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40561E #341E56
analogous
#56501E #40561E #24561E
triadic
#40561E #1E4056 #561E40
tetradic
#40561E #1E5650 #341E56 #561E24
square
#40561E #1E5650 #341E56 #561E24
split-complementary
#40561E #1E2456 #501E56
monochromatic
#111708 #1E290E #40561E #62832E #84B13E

Accessibility & contrast

On white

8.18
#40561E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#40561E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40561E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40561E#FFFFFF#000000##FFFFFF
##40561E1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5018
Deuteranopia (green-blind)
#574F22
Tritanopia (blue-blind)
#42524A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #40561e;
/* rgb */ color: rgb(64, 86, 30);
/* oklch */ color: oklch(42.2% 0.086 127.8);
Tailwind
colors: {
  custom: {
    50: '#77855c',
    500: '#40561e',
    950: '#000000',
  },
}
SCSS
$custom: #40561e;
$custom-light: #77855c;
$custom-dark: #000000;
JSON
{
  "hex": "#40561e",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 30
  },
  "hsl": {
    "h": 83.571,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.08563,
    "h": 127.8
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#40561E
secondary
#60458B
accent
#50D885
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #40561E

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

Preview Lab → · Contrast checker → · Palette generator →

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