#404310#404310

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

Color values

HEX#404310
RGBrgb(64, 67, 16)
HSLhsl(64, 61%, 16%)
HSVhsv(64, 76%, 26%)
CMYKcmyk(4.5%, 0%, 76.1%, 73.7%)
CIE-LABlab(27.14, -8.94, 29.13)
CIE-LCHlch(27.14, 30.47, 107.07°)
OKLaboklab(36.88% -0.0273 0.0653)
OKLCHoklch(36.88% 0.071 112.7)
XYZxyz(4.2152, 5.1418, 1.2605)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404310 #131043
analogous
#432D10 #404310 #274310
triadic
#404310 #104043 #431040
tetradic
#404310 #10432D #131043 #431027
square
#404310 #10432D #131043 #431027
split-complementary
#404310 #102743 #2D1043
monochromatic
#181906 #181906 #404310 #6F741C #9EA628

Accessibility & contrast

On white

10.35
#404310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404310
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404310#FFFFFF#000000##FFFFFF
##4043101.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494008
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#453F39
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #404310;
/* rgb */ color: rgb(64, 67, 16);
/* oklch */ color: oklch(36.9% 0.071 112.7);
Tailwind
colors: {
  custom: {
    50: '#777752',
    500: '#404310',
    950: '#000000',
  },
}
SCSS
$custom: #404310;
$custom-light: #777752;
$custom-dark: #000000;
JSON
{
  "hex": "#404310",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 16
  },
  "hsl": {
    "h": 63.529,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36878,
    "c": 0.07079,
    "h": 112.7
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#404310
secondary
#36327D
accent
#43E54D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404310

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

Preview Lab → · Contrast checker → · Palette generator →

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