#405515#405515

#405515 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.8% C 0.092 H 126.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#405515
RGBrgb(64, 85, 21)
HSLhsl(80, 60%, 21%)
HSVhsv(80, 75%, 33%)
CMYKcmyk(24.7%, 0%, 75.3%, 66.7%)
CIE-LABlab(33.22, -18.80, 33.04)
CIE-LCHlch(33.22, 38.02, 119.64°)
OKLaboklab(41.8% -0.054 0.0745)
OKLCHoklch(41.8% 0.092 126)
XYZxyz(5.4982, 7.6411, 1.8945)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405515 #2A1555
analogous
#554A15 #405515 #205515
triadic
#405515 #154055 #551540
tetradic
#405515 #15554A #2A1555 #551520
square
#405515 #15554A #2A1555 #551520
split-complementary
#405515 #152055 #4A1555
monochromatic
#121906 #1B2409 #405515 #658621 #8AB72D

Accessibility & contrast

On white

8.31
#405515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#405515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405515
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405515#FFFFFF#000000##FFFFFF
##4055151.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#435148
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405515;
/* rgb */ color: rgb(64, 85, 21);
/* oklch */ color: oklch(41.8% 0.092 126.0);
Tailwind
colors: {
  custom: {
    50: '#778557',
    500: '#405515',
    950: '#000000',
  },
}
SCSS
$custom: #405515;
$custom-light: #778557;
$custom-dark: #000000;
JSON
{
  "hex": "#405515",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 79.688,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41795,
    "c": 0.092,
    "h": 126
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#405515
secondary
#55398D
accent
#44E479
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405515

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

Preview Lab → · Contrast checker → · Palette generator →

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