#40560E#40560E

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

Color values

HEX#40560E
RGBrgb(64, 86, 14)
HSLhsl(78, 72%, 20%)
HSVhsv(78, 84%, 34%)
CMYKcmyk(25.6%, 0%, 83.7%, 66.3%)
CIE-LABlab(33.51, -19.78, 36.12)
CIE-LCHlch(33.51, 41.18, 118.70°)
OKLaboklab(42.02% -0.0574 0.0797)
OKLCHoklch(42.02% 0.098 125.8)
XYZxyz(5.5214, 7.7772, 1.6256)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40560E #240E56
analogous
#56480E #40560E #1C560E
triadic
#40560E #0E4056 #560E40
tetradic
#40560E #0E5648 #240E56 #560E1C
square
#40560E #0E5648 #240E56 #560E1C
split-complementary
#40560E #0E1C56 #480E56
monochromatic
#141A04 #192105 #40560E #678B17 #8EBF1F

Accessibility & contrast

On white

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

On black

2.56
#40560E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40560E#FFFFFF#000000##FFFFFF
##40560E1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.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: #40560e;
/* rgb */ color: rgb(64, 86, 14);
/* oklch */ color: oklch(42.0% 0.098 125.8);
Tailwind
colors: {
  custom: {
    50: '#788553',
    500: '#40560e',
    950: '#000000',
  },
}
SCSS
$custom: #40560e;
$custom-light: #788553;
$custom-dark: #000000;
JSON
{
  "hex": "#40560e",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 14
  },
  "hsl": {
    "h": 78.333,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.09816,
    "h": 125.8
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#40560E
secondary
#4D3090
accent
#39EF71
background
#F7F8F5
surface
#EDEFE8
border
#C8CAC4
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #40560E

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

Preview Lab → · Contrast checker → · Palette generator →

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