#403104#403104

#403104 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 32.1% C 0.062 H 88.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#403104
RGBrgb(64, 49, 4)
HSLhsl(45, 88%, 13%)
HSVhsv(45, 94%, 25%)
CMYKcmyk(0%, 23.4%, 93.8%, 74.9%)
CIE-LABlab(21.19, 1.73, 28.23)
CIE-LCHlch(21.19, 28.28, 86.50°)
OKLaboklab(32.13% 0.0013 0.0623)
OKLCHoklch(32.13% 0.062 88.8)
XYZxyz(3.2348, 3.2956, 0.5806)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403104 #041340
analogous
#401304 #403104 #314004
triadic
#403104 #044031 #310440
tetradic
#403104 #044013 #041340 #400431
square
#403104 #044013 #041340 #400431
split-complementary
#403104 #043140 #130440
monochromatic
#1D1602 #1D1602 #403104 #7A5D08 #B3890B

Accessibility & contrast

On white

12.66
#403104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#403104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403104
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403104#FFFFFF#000000##FFFFFF
##4031041.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383100
Deuteranopia (green-blind)
#3C3506
Tritanopia (blue-blind)
#462C29
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #403104;
/* rgb */ color: rgb(64, 49, 4);
/* oklch */ color: oklch(32.1% 0.062 88.8);
Tailwind
colors: {
  custom: {
    50: '#786849',
    500: '#403104',
    950: '#000000',
  },
}
SCSS
$custom: #403104;
$custom-light: #786849;
$custom-dark: #000000;
JSON
{
  "hex": "#403104",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 45,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32127,
    "c": 0.06231,
    "h": 88.8
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#403104
secondary
#1F3781
accent
#5FFE29
background
#F7F6F4
surface
#EEEBE7
border
#C9C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #403104

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

Preview Lab → · Contrast checker → · Palette generator →

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