#40481A#40481A

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

Color values

HEX#40481A
RGBrgb(64, 72, 26)
HSLhsl(70, 47%, 19%)
HSVhsv(70, 64%, 28%)
CMYKcmyk(11.1%, 0%, 63.9%, 71.8%)
CIE-LABlab(28.90, -11.08, 25.97)
CIE-LCHlch(28.90, 28.24, 113.11°)
OKLaboklab(38.32% -0.0321 0.0603)
OKLCHoklch(38.32% 0.068 118)
XYZxyz(4.6182, 5.7993, 1.8532)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40481A #221A48
analogous
#48391A #40481A #29481A
triadic
#40481A #1A4048 #481A40
tetradic
#40481A #1A4839 #221A48 #481A29
square
#40481A #1A4839 #221A48 #481A29
split-complementary
#40481A #1A2948 #391A48
monochromatic
#141608 #181B0A #40481A #68752A #90A23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40481A#FFFFFF#000000##FFFFFF
##40481A1.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)
#4D4415
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#44443E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #40481a;
/* rgb */ color: rgb(64, 72, 26);
/* oklch */ color: oklch(38.3% 0.068 118.0);
Tailwind
colors: {
  custom: {
    50: '#767a58',
    500: '#40481a',
    950: '#000000',
  },
}
SCSS
$custom: #40481a;
$custom-light: #767a58;
$custom-dark: #000000;
JSON
{
  "hex": "#40481a",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 26
  },
  "hsl": {
    "h": 70.435,
    "s": 46.939,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38324,
    "c": 0.06829,
    "h": 118
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#40481A
secondary
#4B407E
accent
#51D768
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #40481A

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

Preview Lab → · Contrast checker → · Palette generator →

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