#404313#404313

#404313 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 36.9% C 0.068 H 112.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#404313
RGBrgb(64, 67, 19)
HSLhsl(64, 56%, 17%)
HSVhsv(64, 72%, 26%)
CMYKcmyk(4.5%, 0%, 71.6%, 73.7%)
CIE-LABlab(27.16, -8.72, 27.71)
CIE-LCHlch(27.16, 29.05, 107.48°)
OKLaboklab(36.91% -0.0263 0.0629)
OKLCHoklch(36.91% 0.068 112.7)
XYZxyz(4.2392, 5.1514, 1.3870)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404313 #161343
analogous
#432E13 #404313 #284313
triadic
#404313 #134043 #431340
tetradic
#404313 #13432E #161343 #431328
square
#404313 #13432E #161343 #431328
split-complementary
#404313 #132843 #2E1343
monochromatic
#171807 #171807 #404313 #6E7321 #9BA22E

Accessibility & contrast

On white

10.34
#404313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#404313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404313
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404313#FFFFFF#000000##FFFFFF
##4043131.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48400D
Deuteranopia (green-blind)
#484116
Tritanopia (blue-blind)
#453F39
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #404313;
/* rgb */ color: rgb(64, 67, 19);
/* oklch */ color: oklch(36.9% 0.068 112.7);
Tailwind
colors: {
  custom: {
    50: '#777753',
    500: '#404313',
    950: '#000000',
  },
}
SCSS
$custom: #404313;
$custom-light: #777753;
$custom-dark: #000000;
JSON
{
  "hex": "#404313",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 19
  },
  "hsl": {
    "h": 63.75,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36908,
    "c": 0.06817,
    "h": 112.7
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#404313
secondary
#3B367C
accent
#49DF52
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404313

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

Preview Lab → · Contrast checker → · Palette generator →

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