#40491F#40491F

#40491F is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.7% C 0.064 H 119.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#40491F
RGBrgb(64, 73, 31)
HSLhsl(73, 40%, 20%)
HSVhsv(73, 58%, 29%)
CMYKcmyk(12.3%, 0%, 57.5%, 71.4%)
CIE-LABlab(29.30, -11.14, 23.66)
CIE-LCHlch(29.30, 26.15, 115.22°)
OKLaboklab(38.66% -0.0317 0.0559)
OKLCHoklch(38.66% 0.064 119.5)
XYZxyz(4.7443, 5.9540, 2.1954)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40491F #281F49
analogous
#493D1F #40491F #2B491F
triadic
#40491F #1F4049 #491F40
tetradic
#40491F #1F493D #281F49 #491F2B
square
#40491F #1F493D #281F49 #491F2B
split-complementary
#40491F #1F2B49 #3D1F49
monochromatic
#131509 #1A1E0D #40491F #667431 #8B9F43

Accessibility & contrast

On white

9.59
#40491F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40491F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40491F#FFFFFF#000000##FFFFFF
##40491F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451B
Deuteranopia (green-blind)
#4C4521
Tritanopia (blue-blind)
#43453F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #40491f;
/* rgb */ color: rgb(64, 73, 31);
/* oklch */ color: oklch(38.7% 0.064 119.5);
Tailwind
colors: {
  custom: {
    50: '#767b5c',
    500: '#40491f',
    950: '#000000',
  },
}
SCSS
$custom: #40491f;
$custom-light: #767b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#40491f",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 31
  },
  "hsl": {
    "h": 72.857,
    "s": 40.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38662,
    "c": 0.06426,
    "h": 119.5
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#40491F
secondary
#52467E
accent
#58D071
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080904
muted
#7B7B79

Preview Lab

Preview with #40491F

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

Preview Lab → · Contrast checker → · Palette generator →

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