#403C14#403C14

#403C14 is a dark, muted yellow. Relative luminance 0.044; OKLCH L 35.1% C 0.058 H 103.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#403C14
RGBrgb(64, 60, 20)
HSLhsl(55, 52%, 16%)
HSVhsv(55, 69%, 25%)
CMYKcmyk(0%, 6.2%, 68.8%, 74.9%)
CIE-LABlab(24.87, -4.33, 24.72)
CIE-LCHlch(24.87, 25.10, 99.94°)
OKLaboklab(35.08% -0.0137 0.0567)
OKLCHoklch(35.08% 0.058 103.6)
XYZxyz(3.8566, 4.3724, 1.3025)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C14 #141840
analogous
#402614 #403C14 #2E4014
triadic
#403C14 #14403C #3C1440
tetradic
#403C14 #144026 #141840 #40142E
square
#403C14 #144026 #141840 #40142E
split-complementary
#403C14 #142E40 #261440
monochromatic
#171607 #171607 #403C14 #6F6823 #9D9331

Accessibility & contrast

On white

11.20
#403C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C14
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C14#FFFFFF#000000##FFFFFF
##403C141.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A10
Deuteranopia (green-blind)
#433C16
Tritanopia (blue-blind)
#453833
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c14;
/* rgb */ color: rgb(64, 60, 20);
/* oklch */ color: oklch(35.1% 0.058 103.6);
Tailwind
colors: {
  custom: {
    50: '#767153',
    500: '#403c14',
    950: '#000000',
  },
}
SCSS
$custom: #403c14;
$custom-light: #767153;
$custom-dark: #000000;
JSON
{
  "hex": "#403c14",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 20
  },
  "hsl": {
    "h": 54.545,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.3508,
    "c": 0.05837,
    "h": 103.6
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#403C14
secondary
#383E78
accent
#59DC4C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403C14

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

Preview Lab → · Contrast checker → · Palette generator →

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