#405315#405315

#405315 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.2% C 0.089 H 125.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#405315
RGBrgb(64, 83, 21)
HSLhsl(78, 60%, 20%)
HSVhsv(78, 75%, 33%)
CMYKcmyk(22.9%, 0%, 74.7%, 67.5%)
CIE-LABlab(32.55, -17.72, 32.35)
CIE-LCHlch(32.55, 36.89, 118.71°)
OKLaboklab(41.25% -0.0511 0.073)
OKLCHoklch(41.25% 0.089 125)
XYZxyz(5.3430, 7.3306, 1.8428)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405315 #281553
analogous
#534715 #405315 #215315
triadic
#405315 #154053 #531540
tetradic
#405315 #155347 #281553 #531521
square
#405315 #155347 #281553 #531521
split-complementary
#405315 #152153 #471553
monochromatic
#131806 #1A2209 #405315 #668421 #8BB52E

Accessibility & contrast

On white

8.52
#405315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#405315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405315
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405315#FFFFFF#000000##FFFFFF
##4053151.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0C
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#434F47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #405315;
/* rgb */ color: rgb(64, 83, 21);
/* oklch */ color: oklch(41.2% 0.089 125.0);
Tailwind
colors: {
  custom: {
    50: '#778357',
    500: '#405315',
    950: '#000000',
  },
}
SCSS
$custom: #405315;
$custom-light: #778357;
$custom-dark: #000000;
JSON
{
  "hex": "#405315",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 78.387,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41248,
    "c": 0.0891,
    "h": 125
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#405315
secondary
#52398B
accent
#45E375
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405315

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

Preview Lab → · Contrast checker → · Palette generator →

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