#405618#405618

#405618 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.1% C 0.091 H 126.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#405618
RGBrgb(64, 86, 24)
HSLhsl(81, 56%, 22%)
HSVhsv(81, 72%, 34%)
CMYKcmyk(25.6%, 0%, 72.1%, 66.3%)
CIE-LABlab(33.59, -19.10, 32.06)
CIE-LCHlch(33.59, 37.32, 120.78°)
OKLaboklab(42.1% -0.0545 0.0729)
OKLCHoklch(42.1% 0.091 126.8)
XYZxyz(5.6070, 7.8114, 2.0763)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405618 #2E1856
analogous
#564D18 #405618 #215618
triadic
#405618 #184056 #561840
tetradic
#405618 #18564D #2E1856 #561821
square
#405618 #18564D #2E1856 #561821
split-complementary
#405618 #182156 #4D1856
monochromatic
#121807 #1C260B #405618 #648625 #87B633

Accessibility & contrast

On white

8.20
#405618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#405618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405618
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405618#FFFFFF#000000##FFFFFF
##4056181.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#435249
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #405618;
/* rgb */ color: rgb(64, 86, 24);
/* oklch */ color: oklch(42.1% 0.091 126.8);
Tailwind
colors: {
  custom: {
    50: '#778559',
    500: '#405618',
    950: '#000000',
  },
}
SCSS
$custom: #405618;
$custom-light: #778559;
$custom-dark: #000000;
JSON
{
  "hex": "#405618",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 81.29,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.09104,
    "h": 126.8
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#405618
secondary
#593D8D
accent
#48E07E
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405618

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

Preview Lab → · Contrast checker → · Palette generator →

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