#40560D#40560D

#40560D is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.0% C 0.099 H 125.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#40560D
RGBrgb(64, 86, 13)
HSLhsl(78, 74%, 19%)
HSVhsv(78, 85%, 34%)
CMYKcmyk(25.6%, 0%, 84.9%, 66.3%)
CIE-LABlab(33.51, -19.83, 36.47)
CIE-LCHlch(33.51, 41.51, 118.54°)
OKLaboklab(42.01% -0.0576 0.0802)
OKLCHoklch(42.01% 0.099 125.7)
XYZxyz(5.5148, 7.7745, 1.5908)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40560D #230D56
analogous
#56480D #40560D #1C560D
triadic
#40560D #0D4056 #560D40
tetradic
#40560D #0D5648 #230D56 #560D1C
square
#40560D #0D5648 #230D56 #560D1C
split-complementary
#40560D #0D1C56 #480D56
monochromatic
#141B04 #182105 #40560D #688B15 #8FC01D

Accessibility & contrast

On white

8.22
#40560D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#40560D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40560D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40560D#FFFFFF#000000##FFFFFF
##40560D1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5000
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#435149
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #40560d;
/* rgb */ color: rgb(64, 86, 13);
/* oklch */ color: oklch(42.0% 0.099 125.7);
Tailwind
colors: {
  custom: {
    50: '#788553',
    500: '#40560d',
    950: '#000000',
  },
}
SCSS
$custom: #40560d;
$custom-light: #788553;
$custom-dark: #000000;
JSON
{
  "hex": "#40560d",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 78.082,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42009,
    "c": 0.09874,
    "h": 125.7
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#40560D
secondary
#4C2E91
accent
#37F06F
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #40560D

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

Preview Lab → · Contrast checker → · Palette generator →

#40560D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva