#40450A#40450A

#40450A is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.4% C 0.078 H 114.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#40450A
RGBrgb(64, 69, 10)
HSLhsl(65, 75%, 15%)
HSVhsv(65, 86%, 27%)
CMYKcmyk(7.2%, 0%, 85.5%, 72.9%)
CIE-LABlab(27.76, -10.49, 32.25)
CIE-LCHlch(27.76, 33.92, 108.02°)
OKLaboklab(37.36% -0.0322 0.0707)
OKLCHoklch(37.36% 0.078 114.5)
XYZxyz(4.2974, 5.3682, 1.0969)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40450A #0F0A45
analogous
#452C0A #40450A #22450A
triadic
#40450A #0A4045 #450A40
tetradic
#40450A #0A452C #0F0A45 #450A22
square
#40450A #0A452C #0F0A45 #450A22
split-complementary
#40450A #0A2245 #2C0A45
monochromatic
#191B04 #191B04 #40450A #727A12 #A3B019

Accessibility & contrast

On white

10.13
#40450A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#40450A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40450A
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40450A#FFFFFF#000000##FFFFFF
##40450A1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#4A420F
Tritanopia (blue-blind)
#45403A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #40450a;
/* rgb */ color: rgb(64, 69, 10);
/* oklch */ color: oklch(37.4% 0.078 114.5);
Tailwind
colors: {
  custom: {
    50: '#77784f',
    500: '#40450a',
    950: '#000000',
  },
}
SCSS
$custom: #40450a;
$custom-light: #77784f;
$custom-dark: #000000;
JSON
{
  "hex": "#40450a",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 10
  },
  "hsl": {
    "h": 65.085,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.37364,
    "c": 0.07769,
    "h": 114.5
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#40450A
secondary
#302982
accent
#36F146
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #40450A

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

Preview Lab → · Contrast checker → · Palette generator →

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