#403D10#403D10

#403D10 is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.3% C 0.063 H 105.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#403D10
RGBrgb(64, 61, 16)
HSLhsl(56, 60%, 16%)
HSVhsv(56, 75%, 25%)
CMYKcmyk(0%, 4.7%, 75%, 74.9%)
CIE-LABlab(25.15, -5.27, 27.10)
CIE-LCHlch(25.15, 27.61, 101.00°)
OKLaboklab(35.3% -0.0169 0.0611)
OKLCHoklch(35.3% 0.063 105.5)
XYZxyz(3.8768, 4.4650, 1.1477)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D10 #101340
analogous
#402510 #403D10 #2B4010
triadic
#403D10 #10403D #3D1040
tetradic
#403D10 #104025 #101340 #40102B
square
#403D10 #104025 #101340 #40102B
split-complementary
#403D10 #102B40 #251040
monochromatic
#181706 #181706 #403D10 #716C1C #A29A28

Accessibility & contrast

On white

11.09
#403D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#403D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D10
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D10#FFFFFF#000000##FFFFFF
##403D101.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0A
Deuteranopia (green-blind)
#443D13
Tritanopia (blue-blind)
#453834
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d10;
/* rgb */ color: rgb(64, 61, 16);
/* oklch */ color: oklch(35.3% 0.063 105.5);
Tailwind
colors: {
  custom: {
    50: '#777251',
    500: '#403d10',
    950: '#000000',
  },
}
SCSS
$custom: #403d10;
$custom-light: #777251;
$custom-dark: #000000;
JSON
{
  "hex": "#403d10",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 16
  },
  "hsl": {
    "h": 56.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35295,
    "c": 0.06336,
    "h": 105.5
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#403D10
secondary
#32367A
accent
#4FE345
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403D10

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

Preview Lab → · Contrast checker → · Palette generator →

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