#405614#405614

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

Color values

HEX#405614
RGBrgb(64, 86, 20)
HSLhsl(80, 62%, 21%)
HSVhsv(80, 77%, 34%)
CMYKcmyk(25.6%, 0%, 76.7%, 66.3%)
CIE-LABlab(33.55, -19.40, 33.81)
CIE-LCHlch(33.55, 38.98, 119.85°)
OKLaboklab(42.06% -0.0558 0.0759)
OKLCHoklch(42.06% 0.094 126.3)
XYZxyz(5.5684, 7.7960, 1.8731)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405614 #2A1456
analogous
#564B14 #405614 #1F5614
triadic
#405614 #144056 #561440
tetradic
#405614 #14564B #2A1456 #56141F
square
#405614 #14564B #2A1456 #56141F
split-complementary
#405614 #141F56 #4B1456
monochromatic
#121906 #1B2408 #405614 #658820 #8AB92B

Accessibility & contrast

On white

8.21
#405614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405614
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405614#FFFFFF#000000##FFFFFF
##4056141.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405614;
/* rgb */ color: rgb(64, 86, 20);
/* oklch */ color: oklch(42.1% 0.094 126.3);
Tailwind
colors: {
  custom: {
    50: '#778556',
    500: '#405614',
    950: '#000000',
  },
}
SCSS
$custom: #405614;
$custom-light: #778556;
$custom-dark: #000000;
JSON
{
  "hex": "#405614",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 20
  },
  "hsl": {
    "h": 80,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4206,
    "c": 0.09419,
    "h": 126.3
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#405614
secondary
#55388E
accent
#42E579
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405614

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

Preview Lab → · Contrast checker → · Palette generator →

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