#403E03#403E03

#403E03 is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.5% C 0.074 H 107.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#403E03
RGBrgb(64, 62, 3)
HSLhsl(58, 91%, 13%)
HSVhsv(58, 95%, 25%)
CMYKcmyk(0%, 3.1%, 95.3%, 74.9%)
CIE-LABlab(25.39, -6.63, 32.90)
CIE-LCHlch(25.39, 33.57, 101.39°)
OKLaboklab(35.45% -0.0223 0.0706)
OKLCHoklch(35.45% 0.074 107.5)
XYZxyz(3.8536, 4.5420, 0.7598)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E03 #030540
analogous
#401F03 #403E03 #234003
triadic
#403E03 #03403E #3E0340
tetradic
#403E03 #03401F #030540 #400323
square
#403E03 #03401F #030540 #400323
split-complementary
#403E03 #032340 #1F0340
monochromatic
#1D1C01 #1D1C01 #403E03 #7A7706 #B5AF08

Accessibility & contrast

On white

11.00
#403E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#403E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E03
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E03#FFFFFF#000000##FFFFFF
##403E031.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#453D08
Tritanopia (blue-blind)
#463934
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403e03;
/* rgb */ color: rgb(64, 62, 3);
/* oklch */ color: oklch(35.5% 0.074 107.5);
Tailwind
colors: {
  custom: {
    50: '#78734a',
    500: '#403e03',
    950: '#000000',
  },
}
SCSS
$custom: #403e03;
$custom-light: #78734a;
$custom-dark: #000000;
JSON
{
  "hex": "#403e03",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 3
  },
  "hsl": {
    "h": 58.033,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.35453,
    "c": 0.07408,
    "h": 107.5
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#403E03
secondary
#1D2082
accent
#30FF29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #403E03

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

Preview Lab → · Contrast checker → · Palette generator →

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