#405334#405334

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

Color values

HEX#405334
RGBrgb(64, 83, 52)
HSLhsl(97, 23%, 26%)
HSVhsv(97, 37%, 33%)
CMYKcmyk(22.9%, 0%, 37.3%, 67.5%)
CIE-LABlab(32.97, -13.93, 15.84)
CIE-LCHlch(32.97, 21.09, 131.33°)
OKLaboklab(41.73% -0.038 0.0395)
OKLCHoklch(41.73% 0.055 133.9)
XYZxyz(5.8273, 7.5243, 4.3935)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405334 #473453
analogous
#505334 #405334 #345338
triadic
#405334 #344053 #533440
tetradic
#405334 #345053 #473453 #533834
square
#405334 #345053 #473453 #533834
split-complementary
#405334 #383453 #533450
monochromatic
#0F130C #232D1C #405334 #5D794C #7A9E64

Accessibility & contrast

On white

8.38
#405334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405334
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405334#FFFFFF#000000##FFFFFF
##4053341.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F32
Deuteranopia (green-blind)
#534D36
Tritanopia (blue-blind)
#40514B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405334;
/* rgb */ color: rgb(64, 83, 52);
/* oklch */ color: oklch(41.7% 0.055 133.9);
Tailwind
colors: {
  custom: {
    50: '#75836b',
    500: '#405334',
    950: '#000000',
  },
}
SCSS
$custom: #405334;
$custom-light: #75836b;
$custom-dark: #000000;
JSON
{
  "hex": "#405334",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 52
  },
  "hsl": {
    "h": 96.774,
    "s": 22.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.41727,
    "c": 0.05477,
    "h": 133.9
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#405334
secondary
#765F84
accent
#68BF9E
background
#F7F8F6
surface
#EDEFEB
border
#C8CAC6
text
#080A06
muted
#7B7C7A

Preview Lab

Preview with #405334

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

Preview Lab → · Contrast checker → · Palette generator →

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