#403F0E#403F0E

#403F0E is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.8% C 0.067 H 108.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#403F0E
RGBrgb(64, 63, 14)
HSLhsl(59, 64%, 15%)
HSVhsv(59, 78%, 25%)
CMYKcmyk(0%, 1.6%, 78.1%, 74.9%)
CIE-LABlab(25.79, -6.64, 28.71)
CIE-LCHlch(25.79, 29.46, 103.03°)
OKLaboklab(35.8% -0.0211 0.064)
OKLCHoklch(35.8% 0.067 108.2)
XYZxyz(3.9713, 4.6768, 1.1089)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F0E #0E0F40
analogous
#40260E #403F0E #28400E
triadic
#403F0E #0E403F #3F0E40
tetradic
#403F0E #0E4026 #0E0F40 #400E28
square
#403F0E #0E4026 #0E0F40 #400E28
split-complementary
#403F0E #0E2840 #260E40
monochromatic
#191905 #191905 #403F0E #727019 #A4A224

Accessibility & contrast

On white

10.85
#403F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F0E
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F0E#FFFFFF#000000##FFFFFF
##403F0E1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f0e;
/* rgb */ color: rgb(64, 63, 14);
/* oklch */ color: oklch(35.8% 0.067 108.2);
Tailwind
colors: {
  custom: {
    50: '#777350',
    500: '#403f0e',
    950: '#000000',
  },
}
SCSS
$custom: #403f0e;
$custom-light: #777350;
$custom-dark: #000000;
JSON
{
  "hex": "#403f0e",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 14
  },
  "hsl": {
    "h": 58.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.358,
    "c": 0.06742,
    "h": 108.2
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#403F0E
secondary
#2F307B
accent
#44E741
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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