#40490E#40490E

#40490E is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.5% C 0.080 H 118.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#40490E
RGBrgb(64, 73, 14)
HSLhsl(69, 68%, 17%)
HSVhsv(69, 81%, 29%)
CMYKcmyk(12.3%, 0%, 80.8%, 71.4%)
CIE-LABlab(29.13, -12.61, 31.97)
CIE-LCHlch(29.13, 34.36, 111.52°)
OKLaboklab(38.47% -0.0377 0.0709)
OKLCHoklch(38.47% 0.08 118)
XYZxyz(4.5763, 5.8868, 1.3106)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40490E #170E49
analogous
#49350E #40490E #22490E
triadic
#40490E #0E4049 #490E40
tetradic
#40490E #0E4935 #170E49 #490E22
square
#40490E #0E4935 #170E49 #490E22
split-complementary
#40490E #0E2249 #350E49
monochromatic
#171A05 #171A05 #40490E #6D7C18 #9AB022

Accessibility & contrast

On white

9.64
#40490E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#40490E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40490E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40490E#FFFFFF#000000##FFFFFF
##40490E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4504
Deuteranopia (green-blind)
#4D4513
Tritanopia (blue-blind)
#44443E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #40490e;
/* rgb */ color: rgb(64, 73, 14);
/* oklch */ color: oklch(38.5% 0.080 118.0);
Tailwind
colors: {
  custom: {
    50: '#777b51',
    500: '#40490e',
    950: '#000000',
  },
}
SCSS
$custom: #40490e;
$custom-light: #777b51;
$custom-dark: #000000;
JSON
{
  "hex": "#40490e",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 14
  },
  "hsl": {
    "h": 69.153,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3847,
    "c": 0.0803,
    "h": 118
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#40490E
secondary
#3C2F84
accent
#3DEB58
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #40490E

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

Preview Lab → · Contrast checker → · Palette generator →

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