#40430C#40430C

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

Color values

HEX#40430C
RGBrgb(64, 67, 12)
HSLhsl(63, 70%, 15%)
HSVhsv(63, 82%, 26%)
CMYKcmyk(4.5%, 0%, 82.1%, 73.7%)
CIE-LABlab(27.10, -9.19, 30.85)
CIE-LCHlch(27.10, 32.20, 106.59°)
OKLaboklab(36.84% -0.0284 0.0682)
OKLCHoklch(36.84% 0.074 112.6)
XYZxyz(4.1880, 5.1309, 1.1175)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40430C #0F0C43
analogous
#432A0C #40430C #24430C
triadic
#40430C #0C4043 #430C40
tetradic
#40430C #0C432A #0F0C43 #430C24
square
#40430C #0C432A #0F0C43 #430C24
split-complementary
#40430C #0C2443 #2A0C43
monochromatic
#191A05 #191A05 #40430C #727715 #A3AB1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40430C#FFFFFF#000000##FFFFFF
##40430C1.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)
#493F03
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#453E38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #40430c;
/* rgb */ color: rgb(64, 67, 12);
/* oklch */ color: oklch(36.8% 0.074 112.6);
Tailwind
colors: {
  custom: {
    50: '#777750',
    500: '#40430c',
    950: '#000000',
  },
}
SCSS
$custom: #40430c;
$custom-light: #777750;
$custom-dark: #000000;
JSON
{
  "hex": "#40430c",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 12
  },
  "hsl": {
    "h": 63.273,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36844,
    "c": 0.07384,
    "h": 112.6
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#40430C
secondary
#302C7F
accent
#3BEC45
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40430C

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

Preview Lab → · Contrast checker → · Palette generator →

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