#404311#404311

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

Color values

HEX#404311
RGBrgb(64, 67, 17)
HSLhsl(64, 60%, 16%)
HSVhsv(64, 75%, 26%)
CMYKcmyk(4.5%, 0%, 74.6%, 73.7%)
CIE-LABlab(27.14, -8.88, 28.66)
CIE-LCHlch(27.14, 30.01, 107.20°)
OKLaboklab(36.89% -0.027 0.0645)
OKLCHoklch(36.89% 0.07 112.7)
XYZxyz(4.2228, 5.1449, 1.3008)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404311 #141143
analogous
#432D11 #404311 #274311
triadic
#404311 #114043 #431140
tetradic
#404311 #11432D #141143 #431127
square
#404311 #11432D #141143 #431127
split-complementary
#404311 #112743 #2D1143
monochromatic
#171806 #171806 #404311 #6F741D #9DA52A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404311#FFFFFF#000000##FFFFFF
##4043111.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)
#49400A
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#453F39
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #404311;
/* rgb */ color: rgb(64, 67, 17);
/* oklch */ color: oklch(36.9% 0.070 112.7);
Tailwind
colors: {
  custom: {
    50: '#777752',
    500: '#404311',
    950: '#000000',
  },
}
SCSS
$custom: #404311;
$custom-light: #777752;
$custom-dark: #000000;
JSON
{
  "hex": "#404311",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 17
  },
  "hsl": {
    "h": 63.6,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36887,
    "c": 0.06994,
    "h": 112.7
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#404311
secondary
#38337D
accent
#45E34F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404311

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

Preview Lab → · Contrast checker → · Palette generator →

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