#40482B#40482B

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

Color values

HEX#40482B
RGBrgb(64, 72, 43)
HSLhsl(77, 25%, 23%)
HSVhsv(77, 40%, 28%)
CMYKcmyk(11.1%, 0%, 40.3%, 71.8%)
CIE-LABlab(29.16, -8.96, 16.35)
CIE-LCHlch(29.16, 18.64, 118.73°)
OKLaboklab(38.61% -0.0244 0.0403)
OKLCHoklch(38.61% 0.047 121.2)
XYZxyz(4.8677, 5.8991, 3.1672)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40482B #332B48
analogous
#48412B #40482B #31482B
triadic
#40482B #2B4048 #482B40
tetradic
#40482B #2B4841 #332B48 #482B31
square
#40482B #2B4841 #332B48 #482B31
split-complementary
#40482B #2B3148 #412B48
monochromatic
#11130B #1E2214 #40482B #626E42 #849559

Accessibility & contrast

On white

9.63
#40482B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40482B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40482B#FFFFFF#000000##FFFFFF
##40482B1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40482b;
/* rgb */ color: rgb(64, 72, 43);
/* oklch */ color: oklch(38.6% 0.047 121.2);
Tailwind
colors: {
  custom: {
    50: '#757b64',
    500: '#40482b',
    950: '#000000',
  },
}
SCSS
$custom: #40482b;
$custom-light: #757b64;
$custom-dark: #000000;
JSON
{
  "hex": "#40482b",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 43
  },
  "hsl": {
    "h": 76.552,
    "s": 25.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.38613,
    "c": 0.04717,
    "h": 121.2
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#40482B
secondary
#5F557A
accent
#66C27F
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080905
muted
#7B7B7A

Preview Lab

Preview with #40482B

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

Preview Lab → · Contrast checker → · Palette generator →

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