#404A0B#404A0B

#404A0B is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.7% C 0.084 H 118.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#404A0B
RGBrgb(64, 74, 11)
HSLhsl(70, 74%, 17%)
HSVhsv(70, 85%, 29%)
CMYKcmyk(13.5%, 0%, 85.1%, 71%)
CIE-LABlab(29.44, -13.35, 33.43)
CIE-LCHlch(29.44, 36.00, 111.76°)
OKLaboklab(38.72% -0.04 0.0734)
OKLCHoklch(38.72% 0.084 118.6)
XYZxyz(4.6236, 6.0117, 1.2334)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A0B #150B4A
analogous
#4A350B #404A0B #214A0B
triadic
#404A0B #0B404A #4A0B40
tetradic
#404A0B #0B4A35 #150B4A #4A0B21
square
#404A0B #0B4A35 #150B4A #4A0B21
split-complementary
#404A0B #0B214A #350B4A
monochromatic
#171B04 #171B04 #404A0B #6E7F13 #9CB51B

Accessibility & contrast

On white

9.54
#404A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#404A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A0B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A0B#FFFFFF#000000##FFFFFF
##404A0B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504500
Deuteranopia (green-blind)
#4E4611
Tritanopia (blue-blind)
#44453E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404a0b;
/* rgb */ color: rgb(64, 74, 11);
/* oklch */ color: oklch(38.7% 0.084 118.6);
Tailwind
colors: {
  custom: {
    50: '#777c50',
    500: '#404a0b',
    950: '#000000',
  },
}
SCSS
$custom: #404a0b;
$custom-light: #777c50;
$custom-dark: #000000;
JSON
{
  "hex": "#404a0b",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 69.524,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.0836,
    "h": 118.6
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#404A0B
secondary
#392B86
accent
#37F155
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404A0B

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

Preview Lab → · Contrast checker → · Palette generator →

#404A0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva