#403B05#403B05

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

Color values

HEX#403B05
RGBrgb(64, 59, 5)
HSLhsl(55, 86%, 14%)
HSVhsv(55, 92%, 25%)
CMYKcmyk(0%, 7.8%, 92.2%, 74.9%)
CIE-LABlab(24.41, -4.65, 31.16)
CIE-LCHlch(24.41, 31.50, 98.50°)
OKLaboklab(34.68% -0.0166 0.0675)
OKLCHoklch(34.68% 0.07 103.8)
XYZxyz(3.7059, 4.2290, 0.7646)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B05 #050A40
analogous
#401D05 #403B05 #274005
triadic
#403B05 #05403B #3B0540
tetradic
#403B05 #05401D #050A40 #400527
square
#403B05 #05401D #050A40 #400527
split-complementary
#403B05 #052740 #1D0540
monochromatic
#1C1A02 #1C1A02 #403B05 #796F09 #B2A40E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #403b05;
/* rgb */ color: rgb(64, 59, 5);
/* oklch */ color: oklch(34.7% 0.070 103.8);
Tailwind
colors: {
  custom: {
    50: '#77704b',
    500: '#403b05',
    950: '#000000',
  },
}
SCSS
$custom: #403b05;
$custom-light: #77704b;
$custom-dark: #000000;
JSON
{
  "hex": "#403b05",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 5
  },
  "hsl": {
    "h": 54.915,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34681,
    "c": 0.0695,
    "h": 103.8
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#403B05
secondary
#202881
accent
#3EFC2C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403B05

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

Preview Lab → · Contrast checker → · Palette generator →

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