#404811#404811

#404811 is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.2% C 0.077 H 117.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#404811
RGBrgb(64, 72, 17)
HSLhsl(69, 62%, 17%)
HSVhsv(69, 76%, 28%)
CMYKcmyk(11.1%, 0%, 76.4%, 71.8%)
CIE-LABlab(28.81, -11.83, 30.36)
CIE-LCHlch(28.81, 32.59, 111.29°)
OKLaboklab(38.22% -0.0352 0.0681)
OKLCHoklch(38.22% 0.077 117.3)
XYZxyz(4.5330, 5.7652, 1.4042)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404811 #191148
analogous
#483411 #404811 #254811
triadic
#404811 #114048 #481140
tetradic
#404811 #114834 #191148 #481125
square
#404811 #114834 #191148 #481125
split-complementary
#404811 #112548 #341148
monochromatic
#161906 #161906 #404811 #6C7A1D #98AB28

Accessibility & contrast

On white

9.75
#404811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#404811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404811
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404811#FFFFFF#000000##FFFFFF
##4048111.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4408
Deuteranopia (green-blind)
#4D4415
Tritanopia (blue-blind)
#44443D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #404811;
/* rgb */ color: rgb(64, 72, 17);
/* oklch */ color: oklch(38.2% 0.077 117.3);
Tailwind
colors: {
  custom: {
    50: '#777a53',
    500: '#404811',
    950: '#000000',
  },
}
SCSS
$custom: #404811;
$custom-light: #777a53;
$custom-dark: #000000;
JSON
{
  "hex": "#404811",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 68.727,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38225,
    "c": 0.07668,
    "h": 117.3
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#404811
secondary
#3F3382
accent
#43E55A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404811

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

Preview Lab → · Contrast checker → · Palette generator →

#404811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva