#403F13#403F13

#403F13 is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.9% C 0.063 H 108.0°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#403F13
RGBrgb(64, 63, 19)
HSLhsl(59, 54%, 16%)
HSVhsv(59, 70%, 25%)
CMYKcmyk(0%, 1.6%, 70.3%, 74.9%)
CIE-LABlab(25.84, -6.28, 26.30)
CIE-LCHlch(25.84, 27.04, 103.44°)
OKLaboklab(35.85% -0.0194 0.0599)
OKLCHoklch(35.85% 0.063 108)
XYZxyz(4.0095, 4.6921, 1.3104)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F13 #131440
analogous
#402913 #403F13 #2B4013
triadic
#403F13 #13403F #3F1340
tetradic
#403F13 #134029 #131440 #40132B
square
#403F13 #134029 #131440 #40132B
split-complementary
#403F13 #132B40 #291340
monochromatic
#181707 #181707 #403F13 #6F6D21 #9E9C2F

Accessibility & contrast

On white

10.83
#403F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#403F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F13
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F13#FFFFFF#000000##FFFFFF
##403F131.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C0E
Deuteranopia (green-blind)
#453E16
Tritanopia (blue-blind)
#453B36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403f13;
/* rgb */ color: rgb(64, 63, 19);
/* oklch */ color: oklch(35.9% 0.063 108.0);
Tailwind
colors: {
  custom: {
    50: '#767353',
    500: '#403f13',
    950: '#000000',
  },
}
SCSS
$custom: #403f13;
$custom-light: #767353;
$custom-dark: #000000;
JSON
{
  "hex": "#403f13",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 19
  },
  "hsl": {
    "h": 58.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.06299,
    "h": 108
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#403F13
secondary
#363879
accent
#4DDE4A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403F13

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

Preview Lab → · Contrast checker → · Palette generator →

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