#403B04#403B04

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

Color values

HEX#403B04
RGBrgb(64, 59, 4)
HSLhsl(55, 88%, 13%)
HSVhsv(55, 94%, 25%)
CMYKcmyk(0%, 7.8%, 93.8%, 74.9%)
CIE-LABlab(24.41, -4.71, 31.56)
CIE-LCHlch(24.41, 31.91, 98.48°)
OKLaboklab(34.67% -0.0168 0.0682)
OKLCHoklch(34.67% 0.07 103.9)
XYZxyz(3.7004, 4.2268, 0.7358)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B04 #040940
analogous
#401D04 #403B04 #274004
triadic
#403B04 #04403B #3B0440
tetradic
#403B04 #04401D #040940 #400427
square
#403B04 #04401D #040940 #400427
split-complementary
#403B04 #042740 #1D0440
monochromatic
#1D1B02 #1D1B02 #403B04 #7A7008 #B3A50B

Accessibility & contrast

On white

11.38
#403B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403B04
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B04#FFFFFF#000000##FFFFFF
##403B041.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403b04;
/* rgb */ color: rgb(64, 59, 4);
/* oklch */ color: oklch(34.7% 0.070 103.9);
Tailwind
colors: {
  custom: {
    50: '#78704a',
    500: '#403b04',
    950: '#000000',
  },
}
SCSS
$custom: #403b04;
$custom-light: #78704a;
$custom-dark: #000000;
JSON
{
  "hex": "#403b04",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 55,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.34674,
    "c": 0.07024,
    "h": 103.9
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#403B04
secondary
#1F2781
accent
#3BFE29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403B04

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

Preview Lab → · Contrast checker → · Palette generator →

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