#405718#405718

#405718 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.093 H 127.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#405718
RGBrgb(64, 87, 24)
HSLhsl(82, 57%, 22%)
HSVhsv(82, 72%, 34%)
CMYKcmyk(26.4%, 0%, 72.4%, 65.9%)
CIE-LABlab(33.92, -19.63, 32.42)
CIE-LCHlch(33.92, 37.89, 121.19°)
OKLaboklab(42.37% -0.056 0.0736)
OKLCHoklch(42.37% 0.093 127.3)
XYZxyz(5.6874, 7.9722, 2.1031)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405718 #2F1857
analogous
#574F18 #405718 #215718
triadic
#405718 #184057 #571840
tetradic
#405718 #18574F #2F1857 #571821
square
#405718 #18574F #2F1857 #571821
split-complementary
#405718 #182157 #4F1857
monochromatic
#121807 #1D270B #405718 #638725 #87B732

Accessibility & contrast

On white

8.09
#405718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#405718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405718
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405718#FFFFFF#000000##FFFFFF
##4057181.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#43534A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405718;
/* rgb */ color: rgb(64, 87, 24);
/* oklch */ color: oklch(42.4% 0.093 127.3);
Tailwind
colors: {
  custom: {
    50: '#778659',
    500: '#405718',
    950: '#000000',
  },
}
SCSS
$custom: #405718;
$custom-light: #778659;
$custom-dark: #000000;
JSON
{
  "hex": "#405718",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 81.905,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42371,
    "c": 0.09252,
    "h": 127.3
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#405718
secondary
#5B3D8E
accent
#48E07F
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #405718

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

Preview Lab → · Contrast checker → · Palette generator →

#405718 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva