#40430D#40430D

#40430D is a dark, moderate yellow. Relative luminance 0.051; OKLCH L 36.9% C 0.073 H 112.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#40430D
RGBrgb(64, 67, 13)
HSLhsl(63, 68%, 16%)
HSVhsv(63, 81%, 26%)
CMYKcmyk(4.5%, 0%, 80.6%, 73.7%)
CIE-LABlab(27.11, -9.14, 30.44)
CIE-LCHlch(27.11, 31.78, 106.71°)
OKLaboklab(36.85% -0.0282 0.0675)
OKLCHoklch(36.85% 0.073 112.6)
XYZxyz(4.1943, 5.1335, 1.1506)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40430D #100D43
analogous
#432B0D #40430D #25430D
triadic
#40430D #0D4043 #430D40
tetradic
#40430D #0D432B #100D43 #430D25
square
#40430D #0D432B #100D43 #430D25
split-complementary
#40430D #0D2543 #2B0D43
monochromatic
#181A05 #181A05 #40430D #717617 #A2AA21

Accessibility & contrast

On white

10.36
#40430D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#40430D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40430D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40430D#FFFFFF#000000##FFFFFF
##40430D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F04
Deuteranopia (green-blind)
#494111
Tritanopia (blue-blind)
#453E39
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #40430d;
/* rgb */ color: rgb(64, 67, 13);
/* oklch */ color: oklch(36.9% 0.073 112.6);
Tailwind
colors: {
  custom: {
    50: '#777750',
    500: '#40430d',
    950: '#000000',
  },
}
SCSS
$custom: #40430d;
$custom-light: #777750;
$custom-dark: #000000;
JSON
{
  "hex": "#40430d",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 13
  },
  "hsl": {
    "h": 63.333,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36852,
    "c": 0.07313,
    "h": 112.6
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#40430D
secondary
#322D7E
accent
#3DEA47
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40430D

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

Preview Lab → · Contrast checker → · Palette generator →

#40430D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva