#405518#405518

#405518 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.8% C 0.090 H 126.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#405518
RGBrgb(64, 85, 24)
HSLhsl(81, 56%, 21%)
HSVhsv(81, 72%, 33%)
CMYKcmyk(24.7%, 0%, 71.8%, 66.7%)
CIE-LABlab(33.25, -18.56, 31.71)
CIE-LCHlch(33.25, 36.74, 120.35°)
OKLaboklab(41.82% -0.0531 0.0722)
OKLCHoklch(41.82% 0.09 126.3)
XYZxyz(5.5277, 7.6529, 2.0499)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405518 #2D1855
analogous
#554C18 #405518 #225518
triadic
#405518 #184055 #551840
tetradic
#405518 #18554C #2D1855 #551822
square
#405518 #18554C #2D1855 #551822
split-complementary
#405518 #182255 #4C1855
monochromatic
#121807 #1C250B #405518 #648525 #88B433

Accessibility & contrast

On white

8.30
#405518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405518
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405518#FFFFFF#000000##FFFFFF
##4055181.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F10
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#435149
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405518;
/* rgb */ color: rgb(64, 85, 24);
/* oklch */ color: oklch(41.8% 0.090 126.3);
Tailwind
colors: {
  custom: {
    50: '#778558',
    500: '#405518',
    950: '#000000',
  },
}
SCSS
$custom: #405518;
$custom-light: #778558;
$custom-dark: #000000;
JSON
{
  "hex": "#405518",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 80.656,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.08957,
    "h": 126.3
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#405518
secondary
#583D8C
accent
#49DF7C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405518

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

Preview Lab → · Contrast checker → · Palette generator →

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