#403E10#403E10

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

Color values

HEX#403E10
RGBrgb(64, 62, 16)
HSLhsl(58, 60%, 16%)
HSVhsv(58, 75%, 25%)
CMYKcmyk(0%, 3.1%, 75%, 74.9%)
CIE-LABlab(25.48, -5.89, 27.44)
CIE-LCHlch(25.48, 28.07, 102.12°)
OKLaboklab(35.56% -0.0187 0.0618)
OKLCHoklch(35.56% 0.065 106.8)
XYZxyz(3.9306, 4.5728, 1.1657)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E10 #101240
analogous
#402610 #403E10 #2A4010
triadic
#403E10 #10403E #3E1040
tetradic
#403E10 #104026 #101240 #40102A
square
#403E10 #104026 #101240 #40102A
split-complementary
#403E10 #102A40 #261040
monochromatic
#181806 #181806 #403E10 #716D1C #A29D28

Accessibility & contrast

On white

10.97
#403E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403E10
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E10#FFFFFF#000000##FFFFFF
##403E101.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403e10;
/* rgb */ color: rgb(64, 62, 16);
/* oklch */ color: oklch(35.6% 0.065 106.8);
Tailwind
colors: {
  custom: {
    50: '#777351',
    500: '#403e10',
    950: '#000000',
  },
}
SCSS
$custom: #403e10;
$custom-light: #777351;
$custom-dark: #000000;
JSON
{
  "hex": "#403e10",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 16
  },
  "hsl": {
    "h": 57.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35557,
    "c": 0.06454,
    "h": 106.8
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#403E10
secondary
#32357A
accent
#4BE345
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403E10

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

Preview Lab → · Contrast checker → · Palette generator →

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