#40482C#40482C

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

Color values

HEX#40482C
RGBrgb(64, 72, 44)
HSLhsl(77, 24%, 23%)
HSVhsv(77, 39%, 28%)
CMYKcmyk(11.1%, 0%, 38.9%, 71.8%)
CIE-LABlab(29.18, -8.81, 15.75)
CIE-LCHlch(29.18, 18.05, 119.20°)
OKLaboklab(38.63% -0.0239 0.039)
OKLCHoklch(38.63% 0.046 121.5)
XYZxyz(4.8863, 5.9066, 3.2650)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40482C #342C48
analogous
#48422C #40482C #32482C
triadic
#40482C #2C4048 #482C40
tetradic
#40482C #2C4842 #342C48 #482C32
square
#40482C #2C4842 #342C48 #482C32
split-complementary
#40482C #2C3248 #422C48
monochromatic
#11130C #1E2215 #40482C #626E43 #84945A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40482C#FFFFFF#000000##FFFFFF
##40482C1.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)
#4B452A
Deuteranopia (green-blind)
#4A452D
Tritanopia (blue-blind)
#424541
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #40482c;
/* rgb */ color: rgb(64, 72, 44);
/* oklch */ color: oklch(38.6% 0.046 121.5);
Tailwind
colors: {
  custom: {
    50: '#757b65',
    500: '#40482c',
    950: '#000000',
  },
}
SCSS
$custom: #40482c;
$custom-light: #757b65;
$custom-dark: #000000;
JSON
{
  "hex": "#40482c",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 44
  },
  "hsl": {
    "h": 77.143,
    "s": 24.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38634,
    "c": 0.04577,
    "h": 121.5
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#40482C
secondary
#605679
accent
#67C181
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080905
muted
#7B7B7A

Preview Lab

Preview with #40482C

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

Preview Lab → · Contrast checker → · Palette generator →

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