#40491B#40491B

#40491B is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.6% C 0.069 H 119.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#40491B
RGBrgb(64, 73, 27)
HSLhsl(72, 46%, 20%)
HSVhsv(72, 63%, 29%)
CMYKcmyk(12.3%, 0%, 63%, 71.4%)
CIE-LABlab(29.25, -11.57, 25.82)
CIE-LCHlch(29.25, 28.29, 114.14°)
OKLaboklab(38.61% -0.0333 0.0601)
OKLCHoklch(38.61% 0.069 119)
XYZxyz(4.6948, 5.9342, 1.9348)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40491B #241B49
analogous
#493B1B #40491B #29491B
triadic
#40491B #1B4049 #491B40
tetradic
#40491B #1B493B #241B49 #491B29
square
#40491B #1B493B #241B49 #491B29
split-complementary
#40491B #1B2949 #3B1B49
monochromatic
#141608 #191C0A #40491B #67762C #8EA23C

Accessibility & contrast

On white

9.60
#40491B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40491B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40491B#FFFFFF#000000##FFFFFF
##40491B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4516
Deuteranopia (green-blind)
#4D451E
Tritanopia (blue-blind)
#44453F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #40491b;
/* rgb */ color: rgb(64, 73, 27);
/* oklch */ color: oklch(38.6% 0.069 119.0);
Tailwind
colors: {
  custom: {
    50: '#767b59',
    500: '#40491b',
    950: '#000000',
  },
}
SCSS
$custom: #40491b;
$custom-light: #767b59;
$custom-dark: #000000;
JSON
{
  "hex": "#40491b",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 27
  },
  "hsl": {
    "h": 71.739,
    "s": 46,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38605,
    "c": 0.06872,
    "h": 119
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#40491B
secondary
#4D417F
accent
#52D66C
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #40491B

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

Preview Lab → · Contrast checker → · Palette generator →

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