#403E0E#403E0E

#403E0E is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.5% C 0.066 H 107.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#403E0E
RGBrgb(64, 62, 14)
HSLhsl(58, 64%, 15%)
HSVhsv(58, 78%, 25%)
CMYKcmyk(0%, 3.1%, 78.1%, 74.9%)
CIE-LABlab(25.46, -6.03, 28.38)
CIE-LCHlch(25.46, 29.01, 101.99°)
OKLaboklab(35.54% -0.0193 0.0633)
OKLCHoklch(35.54% 0.066 107)
XYZxyz(3.9164, 4.5671, 1.0906)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E0E #0E1040
analogous
#40250E #403E0E #29400E
triadic
#403E0E #0E403E #3E0E40
tetradic
#403E0E #0E4025 #0E1040 #400E29
square
#403E0E #0E4025 #0E1040 #400E29
split-complementary
#403E0E #0E2940 #250E40
monochromatic
#191805 #191805 #403E0E #726F19 #A49F24

Accessibility & contrast

On white

10.98
#403E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#403E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E0E
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E0E#FFFFFF#000000##FFFFFF
##403E0E1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B07
Deuteranopia (green-blind)
#453D11
Tritanopia (blue-blind)
#453934
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403e0e;
/* rgb */ color: rgb(64, 62, 14);
/* oklch */ color: oklch(35.5% 0.066 107.0);
Tailwind
colors: {
  custom: {
    50: '#777350',
    500: '#403e0e',
    950: '#000000',
  },
}
SCSS
$custom: #403e0e;
$custom-light: #777350;
$custom-dark: #000000;
JSON
{
  "hex": "#403e0e",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 14
  },
  "hsl": {
    "h": 57.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.06622,
    "h": 107
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#403E0E
secondary
#2F327B
accent
#47E741
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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