#403B07#403B07

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

Color values

HEX#403B07
RGBrgb(64, 59, 7)
HSLhsl(55, 80%, 14%)
HSVhsv(55, 89%, 25%)
CMYKcmyk(0%, 7.8%, 89.1%, 74.9%)
CIE-LABlab(24.43, -4.55, 30.36)
CIE-LCHlch(24.43, 30.70, 98.52°)
OKLaboklab(34.7% -0.016 0.0662)
OKLCHoklch(34.7% 0.068 103.6)
XYZxyz(3.7168, 4.2334, 0.8223)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B07 #070C40
analogous
#401F07 #403B07 #294007
triadic
#403B07 #07403B #3B0740
tetradic
#403B07 #07401F #070C40 #400729
square
#403B07 #07401F #070C40 #400729
split-complementary
#403B07 #072940 #1F0740
monochromatic
#1C1903 #1C1903 #403B07 #776E0D #AEA113

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403B07#FFFFFF#000000##FFFFFF
##403B071.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)
#433B0B
Tritanopia (blue-blind)
#463631
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b07;
/* rgb */ color: rgb(64, 59, 7);
/* oklch */ color: oklch(34.7% 0.068 103.6);
Tailwind
colors: {
  custom: {
    50: '#77704c',
    500: '#403b07',
    950: '#000000',
  },
}
SCSS
$custom: #403b07;
$custom-light: #77704c;
$custom-dark: #000000;
JSON
{
  "hex": "#403b07",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 7
  },
  "hsl": {
    "h": 54.737,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34697,
    "c": 0.06806,
    "h": 103.6
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#403B07
secondary
#242C7F
accent
#42F731
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403B07

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

Preview Lab → · Contrast checker → · Palette generator →

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