#403A10#403A10

#403A10 is a dark, moderate yellow. Relative luminance 0.042; OKLCH L 34.5% C 0.060 H 101.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#403A10
RGBrgb(64, 58, 16)
HSLhsl(53, 60%, 16%)
HSVhsv(53, 75%, 25%)
CMYKcmyk(0%, 9.4%, 75%, 74.9%)
CIE-LABlab(24.17, -3.38, 26.08)
CIE-LCHlch(24.17, 26.30, 97.39°)
OKLaboklab(34.52% -0.0116 0.0589)
OKLCHoklch(34.52% 0.06 101.1)
XYZxyz(3.7211, 4.1537, 1.0958)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A10 #101640
analogous
#402210 #403A10 #2E4010
triadic
#403A10 #10403A #3A1040
tetradic
#403A10 #104022 #101640 #40102E
square
#403A10 #104022 #101640 #40102E
split-complementary
#403A10 #102E40 #221040
monochromatic
#181606 #181606 #403A10 #71661C #A29328

Accessibility & contrast

On white

11.47
#403A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A10
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A10#FFFFFF#000000##FFFFFF
##403A101.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380B
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#453531
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a10;
/* rgb */ color: rgb(64, 58, 16);
/* oklch */ color: oklch(34.5% 0.060 101.1);
Tailwind
colors: {
  custom: {
    50: '#776f51',
    500: '#403a10',
    950: '#000000',
  },
}
SCSS
$custom: #403a10;
$custom-light: #776f51;
$custom-dark: #000000;
JSON
{
  "hex": "#403a10",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 16
  },
  "hsl": {
    "h": 52.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34517,
    "c": 0.06003,
    "h": 101.1
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#403A10
secondary
#323B7A
accent
#58E345
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403A10

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

Preview Lab → · Contrast checker → · Palette generator →

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