#40482E#40482E

#40482E is a dark, muted yellow-green. Relative luminance 0.059; OKLCH L 38.7% C 0.043 H 122.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#40482E
RGBrgb(64, 72, 46)
HSLhsl(78, 22%, 23%)
HSVhsv(78, 36%, 28%)
CMYKcmyk(11.1%, 0%, 36.1%, 71.8%)
CIE-LABlab(29.21, -8.49, 14.56)
CIE-LCHlch(29.21, 16.85, 120.24°)
OKLaboklab(38.68% -0.023 0.0363)
OKLCHoklch(38.68% 0.043 122.3)
XYZxyz(4.9248, 5.9220, 3.4678)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40482E #362E48
analogous
#48432E #40482E #33482E
triadic
#40482E #2E4048 #482E40
tetradic
#40482E #2E4843 #362E48 #482E33
square
#40482E #2E4843 #362E48 #482E33
split-complementary
#40482E #2E3348 #432E48
monochromatic
#11130C #1F2316 #40482E #616D46 #82935E

Accessibility & contrast

On white

9.61
#40482E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#40482E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40482E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40482E#FFFFFF#000000##FFFFFF
##40482E1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452C
Deuteranopia (green-blind)
#4A452F
Tritanopia (blue-blind)
#424541
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #40482e;
/* rgb */ color: rgb(64, 72, 46);
/* oklch */ color: oklch(38.7% 0.043 122.3);
Tailwind
colors: {
  custom: {
    50: '#757b67',
    500: '#40482e',
    950: '#000000',
  },
}
SCSS
$custom: #40482e;
$custom-light: #757b67;
$custom-dark: #000000;
JSON
{
  "hex": "#40482e",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 46
  },
  "hsl": {
    "h": 78.462,
    "s": 22.034,
    "l": 23.137
  },
  "oklch": {
    "l": 0.38678,
    "c": 0.04293,
    "h": 122.3
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#40482E
secondary
#635979
accent
#69BF83
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080906
muted
#7B7B7A

Preview Lab

Preview with #40482E

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

Preview Lab → · Contrast checker → · Palette generator →

#40482E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva