#405136#405136

#405136 is a dark, muted yellow-green. Relative luminance 0.072; OKLCH L 41.2% C 0.048 H 134.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#405136
RGBrgb(64, 81, 54)
HSLhsl(98, 20%, 26%)
HSVhsv(98, 33%, 32%)
CMYKcmyk(21%, 0%, 33.3%, 68.2%)
CIE-LABlab(32.35, -12.44, 13.78)
CIE-LCHlch(32.35, 18.56, 132.07°)
OKLaboklab(41.24% -0.0338 0.0346)
OKLCHoklch(41.24% 0.048 134.3)
XYZxyz(5.7225, 7.2411, 4.5855)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405136 #473651
analogous
#4E5136 #405136 #36513A
triadic
#405136 #364051 #513640
tetradic
#405136 #364E51 #473651 #513A36
square
#405136 #364E51 #473651 #513A36
split-complementary
#405136 #3A3651 #51364E
monochromatic
#0F120C #232C1E #405136 #5D764E #7A9A67

Accessibility & contrast

On white

8.58
#405136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#405136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405136
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405136#FFFFFF#000000##FFFFFF
##4051361.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D34
Deuteranopia (green-blind)
#504C37
Tritanopia (blue-blind)
#404F4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405136;
/* rgb */ color: rgb(64, 81, 54);
/* oklch */ color: oklch(41.2% 0.048 134.3);
Tailwind
colors: {
  custom: {
    50: '#75826d',
    500: '#405136',
    950: '#000000',
  },
}
SCSS
$custom: #405136;
$custom-light: #75826d;
$custom-dark: #000000;
JSON
{
  "hex": "#405136",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 54
  },
  "hsl": {
    "h": 97.778,
    "s": 20,
    "l": 26.471
  },
  "oklch": {
    "l": 0.41241,
    "c": 0.04838,
    "h": 134.3
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#405136
secondary
#766281
accent
#6BBD9E
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #405136

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

Preview Lab → · Contrast checker → · Palette generator →

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