#405331#405331

#405331 is a dark, muted yellow-green. Relative luminance 0.075; OKLCH L 41.7% C 0.059 H 132.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#405331
RGBrgb(64, 83, 49)
HSLhsl(94, 26%, 26%)
HSVhsv(94, 41%, 33%)
CMYKcmyk(22.9%, 0%, 41%, 67.5%)
CIE-LABlab(32.91, -14.42, 17.58)
CIE-LCHlch(32.91, 22.74, 129.37°)
OKLaboklab(41.66% -0.0394 0.0435)
OKLCHoklch(41.66% 0.059 132.2)
XYZxyz(5.7619, 7.4981, 4.0489)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405331 #443153
analogous
#515331 #405331 #315333
triadic
#405331 #314053 #533140
tetradic
#405331 #315153 #443153 #533331
square
#405331 #315153 #443153 #533331
split-complementary
#405331 #333153 #533151
monochromatic
#0F130B #222D1A #405331 #5E7948 #7BA05E

Accessibility & contrast

On white

8.40
#405331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#405331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405331
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405331#FFFFFF#000000##FFFFFF
##4053311.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2F
Deuteranopia (green-blind)
#534D33
Tritanopia (blue-blind)
#41504A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #405331;
/* rgb */ color: rgb(64, 83, 49);
/* oklch */ color: oklch(41.7% 0.059 132.2);
Tailwind
colors: {
  custom: {
    50: '#758369',
    500: '#405331',
    950: '#000000',
  },
}
SCSS
$custom: #405331;
$custom-light: #758369;
$custom-dark: #000000;
JSON
{
  "hex": "#405331",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 93.529,
    "s": 25.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.05869,
    "h": 132.2
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#405331
secondary
#725C84
accent
#66C299
background
#F7F8F6
surface
#EDEFEB
border
#C8CAC6
text
#080A06
muted
#7B7C7A

Preview Lab

Preview with #405331

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

Preview Lab → · Contrast checker → · Palette generator →

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