#403B08#403B08

#403B08 is a dark, moderate yellow. Relative luminance 0.042; OKLCH L 34.7% C 0.067 H 103.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#403B08
RGBrgb(64, 59, 8)
HSLhsl(55, 78%, 14%)
HSVhsv(55, 88%, 25%)
CMYKcmyk(0%, 7.8%, 87.5%, 74.9%)
CIE-LABlab(24.44, -4.49, 29.96)
CIE-LCHlch(24.44, 30.29, 98.53°)
OKLaboklab(34.71% -0.0157 0.0655)
OKLCHoklch(34.71% 0.067 103.5)
XYZxyz(3.7223, 4.2356, 0.8512)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B08 #080D40
analogous
#401F08 #403B08 #294008
triadic
#403B08 #08403B #3B0840
tetradic
#403B08 #08401F #080D40 #400829
square
#403B08 #08401F #080D40 #400829
split-complementary
#403B08 #082940 #1F0840
monochromatic
#1B1903 #1B1903 #403B08 #766D0F #AD9F16

Accessibility & contrast

On white

11.37
#403B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#403B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B08
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B08#FFFFFF#000000##FFFFFF
##403B081.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413901
Deuteranopia (green-blind)
#433B0C
Tritanopia (blue-blind)
#463631
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b08;
/* rgb */ color: rgb(64, 59, 8);
/* oklch */ color: oklch(34.7% 0.067 103.5);
Tailwind
colors: {
  custom: {
    50: '#77704c',
    500: '#403b08',
    950: '#000000',
  },
}
SCSS
$custom: #403b08;
$custom-light: #77704c;
$custom-dark: #000000;
JSON
{
  "hex": "#403b08",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 8
  },
  "hsl": {
    "h": 54.643,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34705,
    "c": 0.06735,
    "h": 103.5
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#403B08
secondary
#252D7E
accent
#45F434
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403B08

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

Preview Lab → · Contrast checker → · Palette generator →

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