#403F03#403F03

#403F03 is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.7% C 0.075 H 108.6°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#403F03
RGBrgb(64, 63, 3)
HSLhsl(59, 91%, 13%)
HSVhsv(59, 95%, 25%)
CMYKcmyk(0%, 1.6%, 95.3%, 74.9%)
CIE-LABlab(25.72, -7.24, 33.21)
CIE-LCHlch(25.72, 33.99, 102.30°)
OKLaboklab(35.72% -0.024 0.0712)
OKLCHoklch(35.72% 0.075 108.6)
XYZxyz(3.9085, 4.6517, 0.7781)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F03 #030440
analogous
#402003 #403F03 #224003
triadic
#403F03 #03403F #3F0340
tetradic
#403F03 #034020 #030440 #400322
square
#403F03 #034020 #030440 #400322
split-complementary
#403F03 #032240 #200340
monochromatic
#1D1D01 #1D1D01 #403F03 #7A7906 #B5B208

Accessibility & contrast

On white

10.88
#403F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F03
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F03#FFFFFF#000000##FFFFFF
##403F031.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#463E08
Tritanopia (blue-blind)
#463A34
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403f03;
/* rgb */ color: rgb(64, 63, 3);
/* oklch */ color: oklch(35.7% 0.075 108.6);
Tailwind
colors: {
  custom: {
    50: '#78734a',
    500: '#403f03',
    950: '#000000',
  },
}
SCSS
$custom: #403f03;
$custom-light: #78734a;
$custom-dark: #000000;
JSON
{
  "hex": "#403f03",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 3
  },
  "hsl": {
    "h": 59.016,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.35717,
    "c": 0.07517,
    "h": 108.6
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#403F03
secondary
#1D1E82
accent
#2CFF29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #403F03

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

Preview Lab → · Contrast checker → · Palette generator →

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