#40482F#40482F

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

Color values

HEX#40482F
RGBrgb(64, 72, 47)
HSLhsl(79, 21%, 23%)
HSVhsv(79, 35%, 28%)
CMYKcmyk(11.1%, 0%, 34.7%, 71.8%)
CIE-LABlab(29.23, -8.32, 13.96)
CIE-LCHlch(29.23, 16.25, 120.80°)
OKLaboklab(38.7% -0.0224 0.0349)
OKLCHoklch(38.7% 0.041 122.8)
XYZxyz(4.9448, 5.9299, 3.5729)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40482F #372F48
analogous
#48432F #40482F #33482F
triadic
#40482F #2F4048 #482F40
tetradic
#40482F #2F4843 #372F48 #482F33
square
#40482F #2F4843 #372F48 #482F33
split-complementary
#40482F #2F3348 #432F48
monochromatic
#10130C #1F2317 #40482F #616D47 #82925F

Accessibility & contrast

On white

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

On black

2.19
#40482F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40482F#FFFFFF#000000##FFFFFF
##40482F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452D
Deuteranopia (green-blind)
#4A4530
Tritanopia (blue-blind)
#424642
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #40482f;
/* rgb */ color: rgb(64, 72, 47);
/* oklch */ color: oklch(38.7% 0.041 122.8);
Tailwind
colors: {
  custom: {
    50: '#757b67',
    500: '#40482f',
    950: '#000000',
  },
}
SCSS
$custom: #40482f;
$custom-light: #757b67;
$custom-dark: #000000;
JSON
{
  "hex": "#40482f",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 47
  },
  "hsl": {
    "h": 79.2,
    "s": 21.008,
    "l": 23.333
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.04149,
    "h": 122.8
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#40482F
secondary
#645A79
accent
#6ABE85
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080906
muted
#7B7B7A

Preview Lab

Preview with #40482F

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

Preview Lab → · Contrast checker → · Palette generator →

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