#405036#405036

#405036 is a dark, muted yellow-green. Relative luminance 0.071; OKLCH L 41.0% C 0.046 H 133.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#405036
RGBrgb(64, 80, 54)
HSLhsl(97, 19%, 26%)
HSVhsv(97, 33%, 31%)
CMYKcmyk(20%, 0%, 32.5%, 68.6%)
CIE-LABlab(32.02, -11.86, 13.33)
CIE-LCHlch(32.02, 17.84, 131.65°)
OKLaboklab(40.98% -0.0322 0.0336)
OKLCHoklch(40.98% 0.047 133.8)
XYZxyz(5.6487, 7.0936, 4.5609)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405036 #463650
analogous
#4D5036 #405036 #365039
triadic
#405036 #364050 #503640
tetradic
#405036 #364D50 #463650 #503936
square
#405036 #364D50 #463650 #503936
split-complementary
#405036 #393650 #50364D
monochromatic
#0F120C #232B1D #405036 #5D754F #7B9968

Accessibility & contrast

On white

8.68
#405036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#405036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405036
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405036#FFFFFF#000000##FFFFFF
##4050361.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C34
Deuteranopia (green-blind)
#504B37
Tritanopia (blue-blind)
#404E49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #405036;
/* rgb */ color: rgb(64, 80, 54);
/* oklch */ color: oklch(41.0% 0.046 133.8);
Tailwind
colors: {
  custom: {
    50: '#75816d',
    500: '#405036',
    950: '#000000',
  },
}
SCSS
$custom: #405036;
$custom-light: #75816d;
$custom-dark: #000000;
JSON
{
  "hex": "#405036",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 54
  },
  "hsl": {
    "h": 96.923,
    "s": 19.403,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.0465,
    "h": 133.8
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#405036
secondary
#746280
accent
#6CBC9D
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #405036

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

Preview Lab → · Contrast checker → · Palette generator →

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