#40482A#40482A

#40482A is a dark, muted yellow-green. Relative luminance 0.059; OKLCH L 38.6% C 0.049 H 120.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#40482A
RGBrgb(64, 72, 42)
HSLhsl(76, 26%, 22%)
HSVhsv(76, 42%, 28%)
CMYKcmyk(11.1%, 0%, 41.7%, 71.8%)
CIE-LABlab(29.14, -9.11, 16.94)
CIE-LCHlch(29.14, 19.23, 118.27°)
OKLaboklab(38.59% -0.0249 0.0417)
OKLCHoklch(38.59% 0.049 120.9)
XYZxyz(4.8496, 5.8919, 3.0718)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40482A #322A48
analogous
#48412A #40482A #31482A
triadic
#40482A #2A4048 #482A40
tetradic
#40482A #2A4841 #322A48 #482A31
square
#40482A #2A4841 #322A48 #482A31
split-complementary
#40482A #2A3148 #412A48
monochromatic
#11130B #1E2113 #40482A #626F41 #859557

Accessibility & contrast

On white

9.64
#40482A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40482A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40482A#FFFFFF#000000##FFFFFF
##40482A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40482a;
/* rgb */ color: rgb(64, 72, 42);
/* oklch */ color: oklch(38.6% 0.049 120.9);
Tailwind
colors: {
  custom: {
    50: '#757b64',
    500: '#40482a',
    950: '#000000',
  },
}
SCSS
$custom: #40482a;
$custom-light: #757b64;
$custom-dark: #000000;
JSON
{
  "hex": "#40482a",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 42
  },
  "hsl": {
    "h": 76,
    "s": 26.316,
    "l": 22.353
  },
  "oklch": {
    "l": 0.38592,
    "c": 0.04855,
    "h": 120.9
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#40482A
secondary
#5E547A
accent
#65C37E
background
#F7F7F5
surface
#EDEDEA
border
#C8C8C6
text
#080905
muted
#7B7B79

Preview Lab

Preview with #40482A

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

Preview Lab → · Contrast checker → · Palette generator →

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