#40430E#40430E

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

Color values

HEX#40430E
RGBrgb(64, 67, 14)
HSLhsl(63, 65%, 16%)
HSVhsv(63, 79%, 26%)
CMYKcmyk(4.5%, 0%, 79.1%, 73.7%)
CIE-LABlab(27.12, -9.08, 30.02)
CIE-LCHlch(27.12, 31.36, 106.82°)
OKLaboklab(36.86% -0.0279 0.0668)
OKLCHoklch(36.86% 0.072 112.7)
XYZxyz(4.2009, 5.1361, 1.1855)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40430E #110E43
analogous
#432B0E #40430E #25430E
triadic
#40430E #0E4043 #430E40
tetradic
#40430E #0E432B #110E43 #430E25
square
#40430E #0E432B #110E43 #430E25
split-complementary
#40430E #0E2543 #2B0E43
monochromatic
#181905 #181905 #40430E #707619 #A1A823

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40430E#FFFFFF#000000##FFFFFF
##40430E1.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)
#493F06
Deuteranopia (green-blind)
#494112
Tritanopia (blue-blind)
#453E39
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #40430e;
/* rgb */ color: rgb(64, 67, 14);
/* oklch */ color: oklch(36.9% 0.072 112.7);
Tailwind
colors: {
  custom: {
    50: '#777751',
    500: '#40430e',
    950: '#000000',
  },
}
SCSS
$custom: #40430e;
$custom-light: #777751;
$custom-dark: #000000;
JSON
{
  "hex": "#40430e",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 14
  },
  "hsl": {
    "h": 63.396,
    "s": 65.432,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3686,
    "c": 0.07238,
    "h": 112.7
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#40430E
secondary
#332F7E
accent
#3FE849
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40430E

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

Preview Lab → · Contrast checker → · Palette generator →

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