#40460D#40460D

#40460D is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 37.7% C 0.077 H 115.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#40460D
RGBrgb(64, 70, 13)
HSLhsl(66, 69%, 16%)
HSVhsv(66, 81%, 27%)
CMYKcmyk(8.6%, 0%, 81.4%, 72.5%)
CIE-LABlab(28.11, -10.92, 31.41)
CIE-LCHlch(28.11, 33.25, 109.17°)
OKLaboklab(37.65% -0.0331 0.0695)
OKLCHoklch(37.65% 0.077 115.5)
XYZxyz(4.3773, 5.4994, 1.2116)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40460D #130D46
analogous
#46300D #40460D #24460D
triadic
#40460D #0D4046 #460D40
tetradic
#40460D #0D4630 #130D46 #460D24
square
#40460D #0D4630 #130D46 #460D24
split-complementary
#40460D #0D2446 #300D46
monochromatic
#181A05 #181A05 #40460D #6F7A17 #9EAD20

Accessibility & contrast

On white

10.00
#40460D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#40460D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40460D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40460D#FFFFFF#000000##FFFFFF
##40460D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4204
Deuteranopia (green-blind)
#4B4312
Tritanopia (blue-blind)
#45413B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #40460d;
/* rgb */ color: rgb(64, 70, 13);
/* oklch */ color: oklch(37.7% 0.077 115.5);
Tailwind
colors: {
  custom: {
    50: '#777950',
    500: '#40460d',
    950: '#000000',
  },
}
SCSS
$custom: #40460d;
$custom-light: #777950;
$custom-dark: #000000;
JSON
{
  "hex": "#40460d",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 13
  },
  "hsl": {
    "h": 66.316,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37654,
    "c": 0.07701,
    "h": 115.5
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#40460D
secondary
#362D81
accent
#3CEC4F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #40460D

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

Preview Lab → · Contrast checker → · Palette generator →

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