#403C10#403C10

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

Color values

HEX#403C10
RGBrgb(64, 60, 16)
HSLhsl(55, 60%, 16%)
HSVhsv(55, 75%, 25%)
CMYKcmyk(0%, 6.2%, 75%, 74.9%)
CIE-LABlab(24.83, -4.64, 26.76)
CIE-LCHlch(24.83, 27.16, 99.85°)
OKLaboklab(35.03% -0.0152 0.0603)
OKLCHoklch(35.03% 0.062 104.1)
XYZxyz(3.8239, 4.3593, 1.1301)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C10 #101440
analogous
#402410 #403C10 #2C4010
triadic
#403C10 #10403C #3C1040
tetradic
#403C10 #104024 #101440 #40102C
square
#403C10 #104024 #101440 #40102C
split-complementary
#403C10 #102C40 #241040
monochromatic
#181706 #181706 #403C10 #716A1C #A29828

Accessibility & contrast

On white

11.22
#403C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C10
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C10#FFFFFF#000000##FFFFFF
##403C101.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403c10;
/* rgb */ color: rgb(64, 60, 16);
/* oklch */ color: oklch(35.0% 0.062 104.1);
Tailwind
colors: {
  custom: {
    50: '#777151',
    500: '#403c10',
    950: '#000000',
  },
}
SCSS
$custom: #403c10;
$custom-light: #777151;
$custom-dark: #000000;
JSON
{
  "hex": "#403c10",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 16
  },
  "hsl": {
    "h": 55,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35035,
    "c": 0.06222,
    "h": 104.1
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#403C10
secondary
#32387A
accent
#52E345
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403C10

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

Preview Lab → · Contrast checker → · Palette generator →

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