#40460A#40460A

#40460A is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 37.6% C 0.079 H 115.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#40460A
RGBrgb(64, 70, 10)
HSLhsl(66, 75%, 16%)
HSVhsv(66, 86%, 27%)
CMYKcmyk(8.6%, 0%, 85.7%, 72.5%)
CIE-LABlab(28.09, -11.08, 32.56)
CIE-LCHlch(28.09, 34.39, 108.80°)
OKLaboklab(37.63% -0.0339 0.0713)
OKLCHoklch(37.63% 0.079 115.4)
XYZxyz(4.3594, 5.4923, 1.1176)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40460A #100A46
analogous
#462E0A #40460A #22460A
triadic
#40460A #0A4046 #460A40
tetradic
#40460A #0A462E #100A46 #460A22
square
#40460A #0A462E #100A46 #460A22
split-complementary
#40460A #0A2246 #2E0A46
monochromatic
#181B04 #181B04 #40460A #717C12 #A2B119

Accessibility & contrast

On white

10.01
#40460A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40460A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40460A#FFFFFF#000000##FFFFFF
##40460A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40460a;
/* rgb */ color: rgb(64, 70, 10);
/* oklch */ color: oklch(37.6% 0.079 115.4);
Tailwind
colors: {
  custom: {
    50: '#77794f',
    500: '#40460a',
    950: '#000000',
  },
}
SCSS
$custom: #40460a;
$custom-light: #77794f;
$custom-dark: #000000;
JSON
{
  "hex": "#40460a",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 10
  },
  "hsl": {
    "h": 66,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.37633,
    "c": 0.07897,
    "h": 115.4
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#40460A
secondary
#322983
accent
#36F249
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #40460A

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

Preview Lab → · Contrast checker → · Palette generator →

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