#40450E#40450E

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

Color values

HEX#40450E
RGBrgb(64, 69, 14)
HSLhsl(65, 66%, 16%)
HSVhsv(65, 80%, 27%)
CMYKcmyk(7.2%, 0%, 79.7%, 72.9%)
CIE-LABlab(27.79, -10.27, 30.67)
CIE-LCHlch(27.79, 32.34, 108.51°)
OKLaboklab(37.39% -0.0312 0.0682)
OKLCHoklch(37.39% 0.075 114.6)
XYZxyz(4.3219, 5.3780, 1.2258)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40450E #130E45
analogous
#452F0E #40450E #25450E
triadic
#40450E #0E4045 #450E40
tetradic
#40450E #0E452F #130E45 #450E25
square
#40450E #0E452F #130E45 #450E25
split-complementary
#40450E #0E2545 #2F0E45
monochromatic
#181905 #181905 #40450E #6F7818 #9EAB23

Accessibility & contrast

On white

10.12
#40450E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#40450E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40450E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40450E#FFFFFF#000000##FFFFFF
##40450E1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40450e;
/* rgb */ color: rgb(64, 69, 14);
/* oklch */ color: oklch(37.4% 0.075 114.6);
Tailwind
colors: {
  custom: {
    50: '#777851',
    500: '#40450e',
    950: '#000000',
  },
}
SCSS
$custom: #40450e;
$custom-light: #777851;
$custom-dark: #000000;
JSON
{
  "hex": "#40450e",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 65.455,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37394,
    "c": 0.07497,
    "h": 114.6
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#40450E
secondary
#362F80
accent
#3FE94E
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #40450E

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

Preview Lab → · Contrast checker → · Palette generator →

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