#40490D#40490D

#40490D is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.5% C 0.081 H 117.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#40490D
RGBrgb(64, 73, 13)
HSLhsl(69, 70%, 17%)
HSVhsv(69, 82%, 29%)
CMYKcmyk(12.3%, 0%, 82.2%, 71.4%)
CIE-LABlab(29.12, -12.67, 32.37)
CIE-LCHlch(29.12, 34.76, 111.37°)
OKLaboklab(38.46% -0.0379 0.0716)
OKLCHoklch(38.46% 0.081 117.9)
XYZxyz(4.5696, 5.8842, 1.2757)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40490D #160D49
analogous
#49340D #40490D #22490D
triadic
#40490D #0D4049 #490D40
tetradic
#40490D #0D4934 #160D49 #490D22
square
#40490D #0D4934 #160D49 #490D22
split-complementary
#40490D #0D2249 #340D49
monochromatic
#171A05 #171A05 #40490D #6E7D16 #9BB120

Accessibility & contrast

On white

9.65
#40490D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#40490D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40490D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40490D#FFFFFF#000000##FFFFFF
##40490D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4503
Deuteranopia (green-blind)
#4E4512
Tritanopia (blue-blind)
#44443E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #40490d;
/* rgb */ color: rgb(64, 73, 13);
/* oklch */ color: oklch(38.5% 0.081 117.9);
Tailwind
colors: {
  custom: {
    50: '#777b51',
    500: '#40490d',
    950: '#000000',
  },
}
SCSS
$custom: #40490d;
$custom-light: #777b51;
$custom-dark: #000000;
JSON
{
  "hex": "#40490d",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 13
  },
  "hsl": {
    "h": 69,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.38462,
    "c": 0.08099,
    "h": 117.9
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#40490D
secondary
#3B2D84
accent
#3BED56
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #40490D

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

Preview Lab → · Contrast checker → · Palette generator →

#40490D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva