#40481B#40481B

#40481B is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.3% C 0.067 H 118.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#40481B
RGBrgb(64, 72, 27)
HSLhsl(71, 45%, 19%)
HSVhsv(71, 63%, 28%)
CMYKcmyk(11.1%, 0%, 62.5%, 71.8%)
CIE-LABlab(28.91, -10.99, 25.44)
CIE-LCHlch(28.91, 27.71, 113.36°)
OKLaboklab(38.34% -0.0317 0.0593)
OKLCHoklch(38.34% 0.067 118.1)
XYZxyz(4.6296, 5.8039, 1.9131)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40481B #231B48
analogous
#483A1B #40481B #2A481B
triadic
#40481B #1B4048 #481B40
tetradic
#40481B #1B483A #231B48 #481B2A
square
#40481B #1B483A #231B48 #481B2A
split-complementary
#40481B #1B2A48 #3A1B48
monochromatic
#141608 #181B0A #40481B #68752C #8FA13C

Accessibility & contrast

On white

9.72
#40481B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40481B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40481B#FFFFFF#000000##FFFFFF
##40481B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40481b;
/* rgb */ color: rgb(64, 72, 27);
/* oklch */ color: oklch(38.3% 0.067 118.1);
Tailwind
colors: {
  custom: {
    50: '#767a59',
    500: '#40481b',
    950: '#000000',
  },
}
SCSS
$custom: #40481b;
$custom-light: #767a59;
$custom-dark: #000000;
JSON
{
  "hex": "#40481b",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 70.667,
    "s": 45.455,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38338,
    "c": 0.06722,
    "h": 118.1
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#40481B
secondary
#4C417E
accent
#53D56A
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #40481B

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

Preview Lab → · Contrast checker → · Palette generator →

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