#40481C#40481C

#40481C is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.4% C 0.066 H 118.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#40481C
RGBrgb(64, 72, 28)
HSLhsl(71, 44%, 20%)
HSVhsv(71, 61%, 28%)
CMYKcmyk(11.1%, 0%, 61.1%, 71.8%)
CIE-LABlab(28.92, -10.88, 24.91)
CIE-LCHlch(28.92, 27.18, 113.60°)
OKLaboklab(38.35% -0.0313 0.0583)
OKLCHoklch(38.35% 0.066 118.2)
XYZxyz(4.6414, 5.8086, 1.9750)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40481C #241C48
analogous
#483A1C #40481C #2A481C
triadic
#40481C #1C4048 #481C40
tetradic
#40481C #1C483A #241C48 #481C2A
square
#40481C #1C483A #241C48 #481C2A
split-complementary
#40481C #1C2A48 #3A1C48
monochromatic
#141609 #191C0B #40481C #67742D #8EA03E

Accessibility & contrast

On white

9.71
#40481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#40481C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40481C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40481C#FFFFFF#000000##FFFFFF
##40481C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4418
Deuteranopia (green-blind)
#4C441F
Tritanopia (blue-blind)
#44443E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #40481c;
/* rgb */ color: rgb(64, 72, 28);
/* oklch */ color: oklch(38.4% 0.066 118.2);
Tailwind
colors: {
  custom: {
    50: '#767a5a',
    500: '#40481c',
    950: '#000000',
  },
}
SCSS
$custom: #40481c;
$custom-light: #767a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#40481c",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 70.909,
    "s": 44,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38351,
    "c": 0.06612,
    "h": 118.2
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#40481C
secondary
#4D427D
accent
#54D46B
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080904
muted
#7B7B79

Preview Lab

Preview with #40481C

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

Preview Lab → · Contrast checker → · Palette generator →

#40481C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva