#404612#404612

#404612 is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 37.7% C 0.073 H 115.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#404612
RGBrgb(64, 70, 18)
HSLhsl(67, 59%, 17%)
HSVhsv(67, 74%, 27%)
CMYKcmyk(8.6%, 0%, 74.3%, 72.5%)
CIE-LABlab(28.15, -10.59, 29.22)
CIE-LCHlch(28.15, 31.08, 109.92°)
OKLaboklab(37.7% -0.0316 0.0659)
OKLCHoklch(37.7% 0.073 115.6)
XYZxyz(4.4138, 5.5140, 1.4040)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404612 #181246
analogous
#463212 #404612 #264612
triadic
#404612 #124046 #461240
tetradic
#404612 #124632 #181246 #461226
square
#404612 #124632 #181246 #461226
split-complementary
#404612 #122646 #321246
monochromatic
#161806 #161806 #404612 #6D771F #99A72B

Accessibility & contrast

On white

9.99
#404612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#404612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404612
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404612#FFFFFF#000000##FFFFFF
##4046121.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420B
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#44423B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #404612;
/* rgb */ color: rgb(64, 70, 18);
/* oklch */ color: oklch(37.7% 0.073 115.6);
Tailwind
colors: {
  custom: {
    50: '#777953',
    500: '#404612',
    950: '#000000',
  },
}
SCSS
$custom: #404612;
$custom-light: #777953;
$custom-dark: #000000;
JSON
{
  "hex": "#404612",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 66.923,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37698,
    "c": 0.07311,
    "h": 115.6
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#404612
secondary
#3D357F
accent
#46E258
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404612

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

Preview Lab → · Contrast checker → · Palette generator →

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