#403B06#403B06

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

Color values

HEX#403B06
RGBrgb(64, 59, 6)
HSLhsl(55, 83%, 14%)
HSVhsv(55, 91%, 25%)
CMYKcmyk(0%, 7.8%, 90.6%, 74.9%)
CIE-LABlab(24.42, -4.60, 30.76)
CIE-LCHlch(24.42, 31.10, 98.51°)
OKLaboklab(34.69% -0.0163 0.0668)
OKLCHoklch(34.69% 0.069 103.7)
XYZxyz(3.7114, 4.2312, 0.7935)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B06 #060B40
analogous
#401E06 #403B06 #284006
triadic
#403B06 #06403B #3B0640
tetradic
#403B06 #06401E #060B40 #400628
square
#403B06 #06401E #060B40 #400628
split-complementary
#403B06 #062840 #1E0640
monochromatic
#1C1A03 #1C1A03 #403B06 #786F0B #B0A210

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403B06#FFFFFF#000000##FFFFFF
##403B061.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)
#413900
Deuteranopia (green-blind)
#433B0A
Tritanopia (blue-blind)
#463631
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b06;
/* rgb */ color: rgb(64, 59, 6);
/* oklch */ color: oklch(34.7% 0.069 103.7);
Tailwind
colors: {
  custom: {
    50: '#77704b',
    500: '#403b06',
    950: '#000000',
  },
}
SCSS
$custom: #403b06;
$custom-light: #77704b;
$custom-dark: #000000;
JSON
{
  "hex": "#403b06",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 54.828,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34689,
    "c": 0.06878,
    "h": 103.7
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#403B06
secondary
#222A80
accent
#40F92F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403B06

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

Preview Lab → · Contrast checker → · Palette generator →

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