#40430B#40430B

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

Color values

HEX#40430B
RGBrgb(64, 67, 11)
HSLhsl(63, 72%, 15%)
HSVhsv(63, 84%, 26%)
CMYKcmyk(4.5%, 0%, 83.6%, 73.7%)
CIE-LABlab(27.10, -9.25, 31.25)
CIE-LCHlch(27.10, 32.59, 106.49°)
OKLaboklab(36.84% -0.0287 0.0688)
OKLCHoklch(36.84% 0.075 112.6)
XYZxyz(4.1820, 5.1286, 1.0862)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40430B #0E0B43
analogous
#432A0B #40430B #24430B
triadic
#40430B #0B4043 #430B40
tetradic
#40430B #0B432A #0E0B43 #430B24
square
#40430B #0B432A #0E0B43 #430B24
split-complementary
#40430B #0B2443 #2A0B43
monochromatic
#191A04 #191A04 #40430B #727814 #A4AC1C

Accessibility & contrast

On white

10.37
#40430B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40430B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40430B#FFFFFF#000000##FFFFFF
##40430B1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F02
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#453E38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #40430b;
/* rgb */ color: rgb(64, 67, 11);
/* oklch */ color: oklch(36.8% 0.075 112.6);
Tailwind
colors: {
  custom: {
    50: '#77774f',
    500: '#40430b',
    950: '#000000',
  },
}
SCSS
$custom: #40430b;
$custom-light: #77774f;
$custom-dark: #000000;
JSON
{
  "hex": "#40430b",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 11
  },
  "hsl": {
    "h": 63.214,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.36836,
    "c": 0.07453,
    "h": 112.6
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#40430B
secondary
#2F2A80
accent
#39EF43
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40430B

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

Preview Lab → · Contrast checker → · Palette generator →

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