#403A03#403A03

#403A03 is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.4% C 0.070 H 102.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#403A03
RGBrgb(64, 58, 3)
HSLhsl(54, 91%, 13%)
HSVhsv(54, 95%, 25%)
CMYKcmyk(0%, 9.4%, 95.3%, 74.9%)
CIE-LABlab(24.07, -4.13, 31.64)
CIE-LCHlch(24.07, 31.91, 97.44°)
OKLaboklab(34.41% -0.0154 0.0683)
OKLCHoklch(34.41% 0.07 102.7)
XYZxyz(3.6440, 4.1228, 0.6900)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A03 #030940
analogous
#401B03 #403A03 #274003
triadic
#403A03 #03403A #3A0340
tetradic
#403A03 #03401B #030940 #400327
square
#403A03 #03401B #030940 #400327
split-complementary
#403A03 #032740 #1B0340
monochromatic
#1D1A01 #1D1A01 #403A03 #7A6F06 #B5A408

Accessibility & contrast

On white

11.51
#403A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#403A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A03
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A03#FFFFFF#000000##FFFFFF
##403A031.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#423A07
Tritanopia (blue-blind)
#463530
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a03;
/* rgb */ color: rgb(64, 58, 3);
/* oklch */ color: oklch(34.4% 0.070 102.7);
Tailwind
colors: {
  custom: {
    50: '#786f4a',
    500: '#403a03',
    950: '#000000',
  },
}
SCSS
$custom: #403a03;
$custom-light: #786f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#403a03",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 54.098,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34406,
    "c": 0.07,
    "h": 102.7
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#403A03
secondary
#1D2782
accent
#3EFF29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403A03

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

Preview Lab → · Contrast checker → · Palette generator →

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