#40491A#40491A

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

Color values

HEX#40491A
RGBrgb(64, 73, 26)
HSLhsl(71, 47%, 19%)
HSVhsv(71, 64%, 29%)
CMYKcmyk(12.3%, 0%, 64.4%, 71.4%)
CIE-LABlab(29.23, -11.67, 26.34)
CIE-LCHlch(29.23, 28.81, 113.89°)
OKLaboklab(38.59% -0.0337 0.0611)
OKLCHoklch(38.59% 0.07 118.9)
XYZxyz(4.6834, 5.9297, 1.8749)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40491A #231A49
analogous
#493B1A #40491A #29491A
triadic
#40491A #1A4049 #491A40
tetradic
#40491A #1A493B #231A49 #491A29
square
#40491A #1A493B #231A49 #491A29
split-complementary
#40491A #1A2949 #3B1A49
monochromatic
#141708 #181C0A #40491A #68762A #8FA33A

Accessibility & contrast

On white

9.61
#40491A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40491A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40491A#FFFFFF#000000##FFFFFF
##40491A1.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)
#4E4515
Deuteranopia (green-blind)
#4D451D
Tritanopia (blue-blind)
#44453F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #40491a;
/* rgb */ color: rgb(64, 73, 26);
/* oklch */ color: oklch(38.6% 0.070 118.9);
Tailwind
colors: {
  custom: {
    50: '#767b58',
    500: '#40491a',
    950: '#000000',
  },
}
SCSS
$custom: #40491a;
$custom-light: #767b58;
$custom-dark: #000000;
JSON
{
  "hex": "#40491a",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 26
  },
  "hsl": {
    "h": 71.489,
    "s": 47.475,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38592,
    "c": 0.06977,
    "h": 118.9
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#40491A
secondary
#4C407F
accent
#51D76A
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #40491A

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

Preview Lab → · Contrast checker → · Palette generator →

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