#403E05#403E05

#403E05 is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.5% C 0.073 H 107.4°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#403E05
RGBrgb(64, 62, 5)
HSLhsl(58, 86%, 14%)
HSVhsv(58, 92%, 25%)
CMYKcmyk(0%, 3.1%, 92.2%, 74.9%)
CIE-LABlab(25.40, -6.52, 32.10)
CIE-LCHlch(25.40, 32.76, 101.48°)
OKLaboklab(35.47% -0.0218 0.0693)
OKLCHoklch(35.47% 0.073 107.4)
XYZxyz(3.8645, 4.5463, 0.8175)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E05 #050740
analogous
#402005 #403E05 #244005
triadic
#403E05 #05403E #3E0540
tetradic
#403E05 #054020 #050740 #400524
square
#403E05 #054020 #050740 #400524
split-complementary
#403E05 #052440 #200540
monochromatic
#1C1B02 #1C1B02 #403E05 #797509 #B2AC0E

Accessibility & contrast

On white

11.00
#403E05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403E05
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E05#FFFFFF#000000##FFFFFF
##403E051.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#453D0A
Tritanopia (blue-blind)
#463934
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403e05;
/* rgb */ color: rgb(64, 62, 5);
/* oklch */ color: oklch(35.5% 0.073 107.4);
Tailwind
colors: {
  custom: {
    50: '#77734b',
    500: '#403e05',
    950: '#000000',
  },
}
SCSS
$custom: #403e05;
$custom-light: #77734b;
$custom-dark: #000000;
JSON
{
  "hex": "#403e05",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 5
  },
  "hsl": {
    "h": 57.966,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.35468,
    "c": 0.07266,
    "h": 107.4
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#403E05
secondary
#202481
accent
#33FC2C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #403E05

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

Preview Lab → · Contrast checker → · Palette generator →

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