#404116#404116

#404116 is a dark, moderate yellow. Relative luminance 0.049; OKLCH L 36.4% C 0.063 H 110.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#404116
RGBrgb(64, 65, 22)
HSLhsl(61, 49%, 17%)
HSVhsv(61, 66%, 25%)
CMYKcmyk(1.5%, 0%, 66.2%, 74.5%)
CIE-LABlab(26.53, -7.26, 25.47)
CIE-LCHlch(26.53, 26.49, 105.91°)
OKLaboklab(36.41% -0.0218 0.0587)
OKLCHoklch(36.41% 0.063 110.4)
XYZxyz(4.1496, 4.9286, 1.4916)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404116 #171641
analogous
#412D16 #404116 #2B4116
triadic
#404116 #164041 #411640
tetradic
#404116 #16412D #171641 #41162B
square
#404116 #16412D #171641 #41162B
split-complementary
#404116 #162B41 #2D1641
monochromatic
#171708 #171708 #404116 #6D6F25 #9A9C35

Accessibility & contrast

On white

10.58
#404116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#404116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404116
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404116#FFFFFF#000000##FFFFFF
##4041161.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E11
Deuteranopia (green-blind)
#473F19
Tritanopia (blue-blind)
#453D38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #404116;
/* rgb */ color: rgb(64, 65, 22);
/* oklch */ color: oklch(36.4% 0.063 110.4);
Tailwind
colors: {
  custom: {
    50: '#767555',
    500: '#404116',
    950: '#000000',
  },
}
SCSS
$custom: #404116;
$custom-light: #767555;
$custom-dark: #000000;
JSON
{
  "hex": "#404116",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 22
  },
  "hsl": {
    "h": 61.395,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36413,
    "c": 0.06257,
    "h": 110.4
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#404116
secondary
#3C3A78
accent
#4FD952
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090803
muted
#7B7B78

Preview Lab

Preview with #404116

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

Preview Lab → · Contrast checker → · Palette generator →

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