#403F06#403F06

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

Color values

HEX#403F06
RGBrgb(64, 63, 6)
HSLhsl(59, 83%, 14%)
HSVhsv(59, 91%, 25%)
CMYKcmyk(0%, 1.6%, 90.6%, 74.9%)
CIE-LABlab(25.74, -7.08, 32.01)
CIE-LCHlch(25.74, 32.78, 102.48°)
OKLaboklab(35.74% -0.0232 0.0693)
OKLCHoklch(35.74% 0.073 108.5)
XYZxyz(3.9249, 4.6583, 0.8647)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F06 #060740
analogous
#402206 #403F06 #244006
triadic
#403F06 #06403F #3F0640
tetradic
#403F06 #064022 #060740 #400624
square
#403F06 #064022 #060740 #400624
split-complementary
#403F06 #062440 #220640
monochromatic
#1C1C03 #1C1C03 #403F06 #78760B #B0AD10

Accessibility & contrast

On white

10.87
#403F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F06
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F06#FFFFFF#000000##FFFFFF
##403F061.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f06;
/* rgb */ color: rgb(64, 63, 6);
/* oklch */ color: oklch(35.7% 0.073 108.5);
Tailwind
colors: {
  custom: {
    50: '#77734c',
    500: '#403f06',
    950: '#000000',
  },
}
SCSS
$custom: #403f06;
$custom-light: #77734c;
$custom-dark: #000000;
JSON
{
  "hex": "#403f06",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 58.966,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.35739,
    "c": 0.07307,
    "h": 108.5
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#403F06
secondary
#222480
accent
#32F92F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #403F06

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

Preview Lab → · Contrast checker → · Palette generator →

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