#403C0E#403C0E

#403C0E is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.0% C 0.064 H 104.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#403C0E
RGBrgb(64, 60, 14)
HSLhsl(55, 64%, 15%)
HSVhsv(55, 78%, 25%)
CMYKcmyk(0%, 6.2%, 78.1%, 74.9%)
CIE-LABlab(24.81, -4.78, 27.72)
CIE-LCHlch(24.81, 28.13, 99.79°)
OKLaboklab(35.02% -0.0158 0.062)
OKLCHoklch(35.02% 0.064 104.3)
XYZxyz(3.8096, 4.3536, 1.0550)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C0E #0E1240
analogous
#40230E #403C0E #2B400E
triadic
#403C0E #0E403C #3C0E40
tetradic
#403C0E #0E4023 #0E1240 #400E2B
square
#403C0E #0E4023 #0E1240 #400E2B
split-complementary
#403C0E #0E2B40 #230E40
monochromatic
#191805 #191805 #403C0E #726B19 #A49A24

Accessibility & contrast

On white

11.23
#403C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#403C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C0E
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C0E#FFFFFF#000000##FFFFFF
##403C0E1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A07
Deuteranopia (green-blind)
#433C11
Tritanopia (blue-blind)
#453733
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c0e;
/* rgb */ color: rgb(64, 60, 14);
/* oklch */ color: oklch(35.0% 0.064 104.3);
Tailwind
colors: {
  custom: {
    50: '#777150',
    500: '#403c0e',
    950: '#000000',
  },
}
SCSS
$custom: #403c0e;
$custom-light: #777150;
$custom-dark: #000000;
JSON
{
  "hex": "#403c0e",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 14
  },
  "hsl": {
    "h": 55.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35015,
    "c": 0.06395,
    "h": 104.3
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#403C0E
secondary
#2F357B
accent
#4EE741
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403C0E

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

Preview Lab → · Contrast checker → · Palette generator →

#403C0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva