#403F05#403F05

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

Color values

HEX#403F05
RGBrgb(64, 63, 5)
HSLhsl(59, 86%, 14%)
HSVhsv(59, 92%, 25%)
CMYKcmyk(0%, 1.6%, 92.2%, 74.9%)
CIE-LABlab(25.73, -7.14, 32.41)
CIE-LCHlch(25.73, 33.19, 102.42°)
OKLaboklab(35.73% -0.0235 0.0699)
OKLCHoklch(35.73% 0.074 108.6)
XYZxyz(3.9194, 4.6561, 0.8358)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F05 #050640
analogous
#402105 #403F05 #234005
triadic
#403F05 #05403F #3F0540
tetradic
#403F05 #054021 #050640 #400523
square
#403F05 #054021 #050640 #400523
split-complementary
#403F05 #052340 #210540
monochromatic
#1C1C02 #1C1C02 #403F05 #797709 #B2AF0E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403F05#FFFFFF#000000##FFFFFF
##403F051.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)
#463E0A
Tritanopia (blue-blind)
#453A35
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403f05;
/* rgb */ color: rgb(64, 63, 5);
/* oklch */ color: oklch(35.7% 0.074 108.6);
Tailwind
colors: {
  custom: {
    50: '#77734b',
    500: '#403f05',
    950: '#000000',
  },
}
SCSS
$custom: #403f05;
$custom-light: #77734b;
$custom-dark: #000000;
JSON
{
  "hex": "#403f05",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 58.983,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.35731,
    "c": 0.07377,
    "h": 108.6
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#403F05
secondary
#202281
accent
#30FC2C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #403F05

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

Preview Lab → · Contrast checker → · Palette generator →

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