#405713#405713

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

Color values

HEX#405713
RGBrgb(64, 87, 19)
HSLhsl(80, 64%, 21%)
HSVhsv(80, 78%, 34%)
CMYKcmyk(26.4%, 0%, 78.2%, 65.9%)
CIE-LABlab(33.89, -20.00, 34.56)
CIE-LCHlch(33.89, 39.93, 120.06°)
OKLaboklab(42.33% -0.0575 0.0773)
OKLCHoklch(42.33% 0.096 126.7)
XYZxyz(5.6401, 7.9533, 1.8540)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405713 #2A1357
analogous
#574C13 #405713 #1E5713
triadic
#405713 #134057 #571340
tetradic
#405713 #13574C #2A1357 #57131E
square
#405713 #13574C #2A1357 #57131E
split-complementary
#405713 #131E57 #4C1357
monochromatic
#121905 #1B2508 #405713 #65891E #8ABB29

Accessibility & contrast

On white

8.11
#405713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405713
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405713#FFFFFF#000000##FFFFFF
##4057131.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405713;
/* rgb */ color: rgb(64, 87, 19);
/* oklch */ color: oklch(42.3% 0.096 126.7);
Tailwind
colors: {
  custom: {
    50: '#778656',
    500: '#405713',
    950: '#000000',
  },
}
SCSS
$custom: #405713;
$custom-light: #778656;
$custom-dark: #000000;
JSON
{
  "hex": "#405713",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 19
  },
  "hsl": {
    "h": 80.294,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.09634,
    "h": 126.7
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#405713
secondary
#55368F
accent
#41E779
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405713

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

Preview Lab → · Contrast checker → · Palette generator →

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