#405714#405714

#405714 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.3% C 0.096 H 126.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#405714
RGBrgb(64, 87, 20)
HSLhsl(81, 63%, 21%)
HSVhsv(81, 77%, 34%)
CMYKcmyk(26.4%, 0%, 77%, 65.9%)
CIE-LABlab(33.89, -19.93, 34.15)
CIE-LCHlch(33.89, 39.54, 120.27°)
OKLaboklab(42.33% -0.0572 0.0766)
OKLCHoklch(42.33% 0.096 126.8)
XYZxyz(5.6488, 7.9568, 1.8999)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405714 #2B1457
analogous
#574C14 #405714 #1E5714
triadic
#405714 #144057 #571440
tetradic
#405714 #14574C #2B1457 #57141E
square
#405714 #14574C #2B1457 #57141E
split-complementary
#405714 #141E57 #4C1457
monochromatic
#121906 #1B2509 #405714 #65891F #89BB2B

Accessibility & contrast

On white

8.10
#405714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405714
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405714#FFFFFF#000000##FFFFFF
##4057141.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405714;
/* rgb */ color: rgb(64, 87, 20);
/* oklch */ color: oklch(42.3% 0.096 126.8);
Tailwind
colors: {
  custom: {
    50: '#778657',
    500: '#405714',
    950: '#000000',
  },
}
SCSS
$custom: #405714;
$custom-light: #778657;
$custom-dark: #000000;
JSON
{
  "hex": "#405714",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 80.597,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42334,
    "c": 0.09562,
    "h": 126.8
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#405714
secondary
#56388F
accent
#42E67A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405714

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

Preview Lab → · Contrast checker → · Palette generator →

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