#405414#405414

#405414 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.5% C 0.091 H 125.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#405414
RGBrgb(64, 84, 20)
HSLhsl(79, 62%, 20%)
HSVhsv(79, 76%, 33%)
CMYKcmyk(23.8%, 0%, 76.2%, 67.1%)
CIE-LABlab(32.88, -18.33, 33.13)
CIE-LCHlch(32.88, 37.87, 118.96°)
OKLaboklab(41.51% -0.0529 0.0745)
OKLCHoklch(41.51% 0.091 125.4)
XYZxyz(5.4110, 7.4811, 1.8206)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405414 #281454
analogous
#544814 #405414 #205414
triadic
#405414 #144054 #541440
tetradic
#405414 #145448 #281454 #541420
square
#405414 #145448 #281454 #541420
split-complementary
#405414 #142054 #481454
monochromatic
#131906 #1A2308 #405414 #668520 #8BB72C

Accessibility & contrast

On white

8.41
#405414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#405414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405414
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405414#FFFFFF#000000##FFFFFF
##4054141.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0A
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#435047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #405414;
/* rgb */ color: rgb(64, 84, 20);
/* oklch */ color: oklch(41.5% 0.091 125.4);
Tailwind
colors: {
  custom: {
    50: '#778456',
    500: '#405414',
    950: '#000000',
  },
}
SCSS
$custom: #405414;
$custom-light: #778456;
$custom-dark: #000000;
JSON
{
  "hex": "#405414",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 20
  },
  "hsl": {
    "h": 78.75,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41512,
    "c": 0.09132,
    "h": 125.4
  },
  "luminance": 0.07481
}

Semantic roles & 50–950 ramp

primary
#405414
secondary
#52388C
accent
#43E576
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405414

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

Preview Lab → · Contrast checker → · Palette generator →

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