#403F10#403F10

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

Color values

HEX#403F10
RGBrgb(64, 63, 16)
HSLhsl(59, 60%, 16%)
HSVhsv(59, 75%, 25%)
CMYKcmyk(0%, 1.6%, 75%, 74.9%)
CIE-LABlab(25.81, -6.51, 27.78)
CIE-LCHlch(25.81, 28.53, 103.19°)
OKLaboklab(35.82% -0.0204 0.0625)
OKLCHoklch(35.82% 0.066 108.1)
XYZxyz(3.9855, 4.6825, 1.1840)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F10 #101140
analogous
#402710 #403F10 #294010
triadic
#403F10 #10403F #3F1040
tetradic
#403F10 #104027 #101140 #401029
square
#403F10 #104027 #101140 #401029
split-complementary
#403F10 #102940 #271040
monochromatic
#181806 #181806 #403F10 #716F1C #A29F28

Accessibility & contrast

On white

10.84
#403F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F10
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F10#FFFFFF#000000##FFFFFF
##403F101.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f10;
/* rgb */ color: rgb(64, 63, 16);
/* oklch */ color: oklch(35.8% 0.066 108.1);
Tailwind
colors: {
  custom: {
    50: '#777351',
    500: '#403f10',
    950: '#000000',
  },
}
SCSS
$custom: #403f10;
$custom-light: #777351;
$custom-dark: #000000;
JSON
{
  "hex": "#403f10",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 16
  },
  "hsl": {
    "h": 58.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35819,
    "c": 0.06574,
    "h": 108.1
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#403F10
secondary
#32337A
accent
#48E345
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403F10

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

Preview Lab → · Contrast checker → · Palette generator →

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