#403A07#403A07

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

Color values

HEX#403A07
RGBrgb(64, 58, 7)
HSLhsl(54, 80%, 14%)
HSVhsv(54, 89%, 25%)
CMYKcmyk(0%, 9.4%, 89.1%, 74.9%)
CIE-LABlab(24.10, -3.92, 30.03)
CIE-LCHlch(24.10, 30.29, 97.43°)
OKLaboklab(34.44% -0.0142 0.0655)
OKLCHoklch(34.44% 0.067 102.3)
XYZxyz(3.6659, 4.1316, 0.8054)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A07 #070D40
analogous
#401E07 #403A07 #2A4007
triadic
#403A07 #07403A #3A0740
tetradic
#403A07 #07401E #070D40 #40072A
square
#403A07 #07401E #070D40 #40072A
split-complementary
#403A07 #072A40 #1E0740
monochromatic
#1C1903 #1C1903 #403A07 #776C0D #AE9E13

Accessibility & contrast

On white

11.50
#403A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A07
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A07#FFFFFF#000000##FFFFFF
##403A071.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#423A0B
Tritanopia (blue-blind)
#463531
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a07;
/* rgb */ color: rgb(64, 58, 7);
/* oklch */ color: oklch(34.4% 0.067 102.3);
Tailwind
colors: {
  custom: {
    50: '#776f4c',
    500: '#403a07',
    950: '#000000',
  },
}
SCSS
$custom: #403a07;
$custom-light: #776f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#403a07",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 53.684,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34437,
    "c": 0.06705,
    "h": 102.3
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#403A07
secondary
#242D7F
accent
#46F731
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403A07

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

Preview Lab → · Contrast checker → · Palette generator →

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