#403E14#403E14

#403E14 is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.6% C 0.061 H 106.5°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#403E14
RGBrgb(64, 62, 20)
HSLhsl(57, 52%, 16%)
HSVhsv(57, 69%, 25%)
CMYKcmyk(0%, 3.1%, 68.8%, 74.9%)
CIE-LABlab(25.52, -5.58, 25.43)
CIE-LCHlch(25.52, 26.04, 102.38°)
OKLaboklab(35.6% -0.0173 0.0583)
OKLCHoklch(35.6% 0.061 106.5)
XYZxyz(3.9634, 4.5859, 1.3381)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E14 #141640
analogous
#402814 #403E14 #2C4014
triadic
#403E14 #14403E #3E1440
tetradic
#403E14 #144028 #141640 #40142C
square
#403E14 #144028 #141640 #40142C
split-complementary
#403E14 #142C40 #281440
monochromatic
#171707 #171707 #403E14 #6F6B23 #9D9831

Accessibility & contrast

On white

10.95
#403E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#403E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E14
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E14#FFFFFF#000000##FFFFFF
##403E141.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B0F
Deuteranopia (green-blind)
#453D16
Tritanopia (blue-blind)
#453A35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403e14;
/* rgb */ color: rgb(64, 62, 20);
/* oklch */ color: oklch(35.6% 0.061 106.5);
Tailwind
colors: {
  custom: {
    50: '#767354',
    500: '#403e14',
    950: '#000000',
  },
}
SCSS
$custom: #403e14;
$custom-light: #767354;
$custom-dark: #000000;
JSON
{
  "hex": "#403e14",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 20
  },
  "hsl": {
    "h": 57.273,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35601,
    "c": 0.06076,
    "h": 106.5
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#403E14
secondary
#383B78
accent
#53DC4C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403E14

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

Preview Lab → · Contrast checker → · Palette generator →

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