#40430A#40430A

#40430A 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#40430A
RGBrgb(64, 67, 10)
HSLhsl(63, 74%, 15%)
HSVhsv(63, 85%, 26%)
CMYKcmyk(4.5%, 0%, 85.1%, 73.7%)
CIE-LABlab(27.09, -9.30, 31.64)
CIE-LCHlch(27.09, 32.98, 106.38°)
OKLaboklab(36.83% -0.0289 0.0694)
OKLCHoklch(36.83% 0.075 112.6)
XYZxyz(4.1764, 5.1263, 1.0566)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40430A #0D0A43
analogous
#43290A #40430A #23430A
triadic
#40430A #0A4043 #430A40
tetradic
#40430A #0A4329 #0D0A43 #430A23
square
#40430A #0A4329 #0D0A43 #430A23
split-complementary
#40430A #0A2343 #290A43
monochromatic
#191B04 #191B04 #40430A #737812 #A6AE1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40430A#FFFFFF#000000##FFFFFF
##40430A1.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)
#493F01
Deuteranopia (green-blind)
#49410F
Tritanopia (blue-blind)
#453E38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #40430a;
/* rgb */ color: rgb(64, 67, 10);
/* oklch */ color: oklch(36.8% 0.075 112.6);
Tailwind
colors: {
  custom: {
    50: '#77774f',
    500: '#40430a',
    950: '#000000',
  },
}
SCSS
$custom: #40430a;
$custom-light: #77774f;
$custom-dark: #000000;
JSON
{
  "hex": "#40430a",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 10
  },
  "hsl": {
    "h": 63.158,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36829,
    "c": 0.07518,
    "h": 112.6
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#40430A
secondary
#2D2980
accent
#37F141
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40430A

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

Preview Lab → · Contrast checker → · Palette generator →

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