#40350F#40350F

#40350F is a dark, muted yellow. Relative luminance 0.037; OKLCH L 33.2% C 0.056 H 92.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#40350F
RGBrgb(64, 53, 15)
HSLhsl(47, 62%, 15%)
HSVhsv(47, 77%, 25%)
CMYKcmyk(0%, 17.2%, 76.6%, 74.9%)
CIE-LABlab(22.55, -0.24, 24.90)
CIE-LCHlch(22.55, 24.90, 90.56°)
OKLaboklab(33.23% -0.0027 0.0562)
OKLCHoklch(33.23% 0.056 92.8)
XYZxyz(3.4739, 3.6709, 0.9774)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40350F #0F1A40
analogous
#401D0F #40350F #32400F
triadic
#40350F #0F4035 #350F40
tetradic
#40350F #0F401D #0F1A40 #400F32
square
#40350F #0F401D #0F1A40 #400F32
split-complementary
#40350F #0F3240 #1D0F40
monochromatic
#191506 #191506 #40350F #725E1B #A38726

Accessibility & contrast

On white

12.11
#40350F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#40350F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40350F
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40350F#FFFFFF#000000##FFFFFF
##40350F1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340A
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#46302D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40350f;
/* rgb */ color: rgb(64, 53, 15);
/* oklch */ color: oklch(33.2% 0.056 92.8);
Tailwind
colors: {
  custom: {
    50: '#776c4f',
    500: '#40350f',
    950: '#000000',
  },
}
SCSS
$custom: #40350f;
$custom-light: #776c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#40350f",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 15
  },
  "hsl": {
    "h": 46.531,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3323,
    "c": 0.05628,
    "h": 92.8
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#40350F
secondary
#30417A
accent
#67E543
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #40350F

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

Preview Lab → · Contrast checker → · Palette generator →

#40350F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva