#404010#404010

#404010 is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.1% C 0.067 H 109.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#404010
RGBrgb(64, 64, 16)
HSLhsl(60, 60%, 16%)
HSVhsv(60, 75%, 25%)
CMYKcmyk(0%, 0%, 75%, 74.9%)
CIE-LABlab(26.14, -7.12, 28.12)
CIE-LCHlch(26.14, 29.00, 104.22°)
OKLaboklab(36.08% -0.0222 0.0632)
OKLCHoklch(36.08% 0.067 109.3)
XYZxyz(4.0414, 4.7943, 1.2026)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404010 #101040
analogous
#402810 #404010 #284010
triadic
#404010 #104040 #401040
tetradic
#404010 #104028 #101040 #401028
square
#404010 #104028 #101040 #401028
split-complementary
#404010 #102840 #281040
monochromatic
#181806 #181806 #404010 #71711C #A2A228

Accessibility & contrast

On white

10.72
#404010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#404010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404010
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404010#FFFFFF#000000##FFFFFF
##4040101.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D09
Deuteranopia (green-blind)
#463F13
Tritanopia (blue-blind)
#453C36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #404010;
/* rgb */ color: rgb(64, 64, 16);
/* oklch */ color: oklch(36.1% 0.067 109.3);
Tailwind
colors: {
  custom: {
    50: '#777451',
    500: '#404010',
    950: '#000000',
  },
}
SCSS
$custom: #404010;
$custom-light: #777451;
$custom-dark: #000000;
JSON
{
  "hex": "#404010",
  "rgb": {
    "r": 64,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.06697,
    "h": 109.3
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#404010
secondary
#32327A
accent
#45E345
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404010

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

Preview Lab → · Contrast checker → · Palette generator →

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