#403A08#403A08

#403A08 is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.4% C 0.066 H 102.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#403A08
RGBrgb(64, 58, 8)
HSLhsl(54, 78%, 14%)
HSVhsv(54, 88%, 25%)
CMYKcmyk(0%, 9.4%, 87.5%, 74.9%)
CIE-LABlab(24.11, -3.86, 29.64)
CIE-LCHlch(24.11, 29.89, 97.43°)
OKLaboklab(34.45% -0.014 0.0648)
OKLCHoklch(34.45% 0.066 102.2)
XYZxyz(3.6714, 4.1338, 0.8342)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A08 #080E40
analogous
#401E08 #403A08 #2A4008
triadic
#403A08 #08403A #3A0840
tetradic
#403A08 #08401E #080E40 #40082A
square
#403A08 #08401E #080E40 #40082A
split-complementary
#403A08 #082A40 #1E0840
monochromatic
#1B1903 #1B1903 #403A08 #766B0F #AD9D16

Accessibility & contrast

On white

11.50
#403A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A08
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A08#FFFFFF#000000##FFFFFF
##403A081.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403801
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#463531
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a08;
/* rgb */ color: rgb(64, 58, 8);
/* oklch */ color: oklch(34.4% 0.066 102.2);
Tailwind
colors: {
  custom: {
    50: '#776f4c',
    500: '#403a08',
    950: '#000000',
  },
}
SCSS
$custom: #403a08;
$custom-light: #776f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#403a08",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 53.571,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34445,
    "c": 0.06633,
    "h": 102.2
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#403A08
secondary
#252F7E
accent
#48F434
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403A08

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

Preview Lab → · Contrast checker → · Palette generator →

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