#404117#404117

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

Color values

HEX#404117
RGBrgb(64, 65, 23)
HSLhsl(61, 48%, 17%)
HSVhsv(61, 65%, 25%)
CMYKcmyk(1.5%, 0%, 64.6%, 74.5%)
CIE-LABlab(26.54, -7.17, 24.94)
CIE-LCHlch(26.54, 25.96, 106.04°)
OKLaboklab(36.43% -0.0214 0.0577)
OKLCHoklch(36.43% 0.062 110.4)
XYZxyz(4.1594, 4.9325, 1.5434)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404117 #181741
analogous
#412D17 #404117 #2B4117
triadic
#404117 #174041 #411740
tetradic
#404117 #17412D #181741 #41172B
square
#404117 #17412D #181741 #41172B
split-complementary
#404117 #172B41 #2D1741
monochromatic
#161708 #161708 #404117 #6D6E27 #999B37

Accessibility & contrast

On white

10.57
#404117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404117
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404117#FFFFFF#000000##FFFFFF
##4041171.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404117;
/* rgb */ color: rgb(64, 65, 23);
/* oklch */ color: oklch(36.4% 0.062 110.4);
Tailwind
colors: {
  custom: {
    50: '#767556',
    500: '#404117',
    950: '#000000',
  },
}
SCSS
$custom: #404117;
$custom-light: #767556;
$custom-dark: #000000;
JSON
{
  "hex": "#404117",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 23
  },
  "hsl": {
    "h": 61.429,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36426,
    "c": 0.06152,
    "h": 110.4
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#404117
secondary
#3D3C78
accent
#50D754
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090803
muted
#7B7B78

Preview Lab

Preview with #404117

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

Preview Lab → · Contrast checker → · Palette generator →

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