#40430F#40430F

#40430F 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#40430F
RGBrgb(64, 67, 15)
HSLhsl(63, 63%, 16%)
HSVhsv(63, 78%, 26%)
CMYKcmyk(4.5%, 0%, 77.6%, 73.7%)
CIE-LABlab(27.13, -9.01, 29.58)
CIE-LCHlch(27.13, 30.92, 106.94°)
OKLaboklab(36.87% -0.0276 0.0661)
OKLCHoklch(36.87% 0.072 112.7)
XYZxyz(4.2079, 5.1389, 1.2221)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40430F #120F43
analogous
#432C0F #40430F #26430F
triadic
#40430F #0F4043 #430F40
tetradic
#40430F #0F432C #120F43 #430F26
square
#40430F #0F432C #120F43 #430F26
split-complementary
#40430F #0F2643 #2C0F43
monochromatic
#181906 #181906 #40430F #70751A #A0A725

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40430F#FFFFFF#000000##FFFFFF
##40430F1.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)
#493F07
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#453E39
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #40430f;
/* rgb */ color: rgb(64, 67, 15);
/* oklch */ color: oklch(36.9% 0.072 112.7);
Tailwind
colors: {
  custom: {
    50: '#777751',
    500: '#40430f',
    950: '#000000',
  },
}
SCSS
$custom: #40430f;
$custom-light: #777751;
$custom-dark: #000000;
JSON
{
  "hex": "#40430f",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 15
  },
  "hsl": {
    "h": 63.462,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36869,
    "c": 0.07161,
    "h": 112.7
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#40430F
secondary
#35307D
accent
#41E64B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40430F

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

Preview Lab → · Contrast checker → · Palette generator →

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