#405715#405715

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

Color values

HEX#405715
RGBrgb(64, 87, 21)
HSLhsl(81, 61%, 21%)
HSVhsv(81, 76%, 34%)
CMYKcmyk(26.4%, 0%, 75.9%, 65.9%)
CIE-LABlab(33.90, -19.86, 33.73)
CIE-LCHlch(33.90, 39.14, 120.49°)
OKLaboklab(42.34% -0.0569 0.0759)
OKLCHoklch(42.34% 0.095 126.9)
XYZxyz(5.6579, 7.9604, 1.9477)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405715 #2C1557
analogous
#574D15 #405715 #1F5715
triadic
#405715 #154057 #571540
tetradic
#405715 #15574D #2C1557 #57151F
square
#405715 #15574D #2C1557 #57151F
split-complementary
#405715 #151F57 #4D1557
monochromatic
#121906 #1C2609 #405715 #648821 #89BA2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405715#FFFFFF#000000##FFFFFF
##4057151.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)
#5C510A
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#43534A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405715;
/* rgb */ color: rgb(64, 87, 21);
/* oklch */ color: oklch(42.3% 0.095 126.9);
Tailwind
colors: {
  custom: {
    50: '#778657',
    500: '#405715',
    950: '#000000',
  },
}
SCSS
$custom: #405715;
$custom-light: #778657;
$custom-dark: #000000;
JSON
{
  "hex": "#405715",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 80.909,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42343,
    "c": 0.09488,
    "h": 126.9
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#405715
secondary
#57398F
accent
#44E47C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405715

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

Preview Lab → · Contrast checker → · Palette generator →

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