#40601A#40601A

#40601A is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.9% C 0.104 H 130.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#40601A
RGBrgb(64, 96, 26)
HSLhsl(87, 57%, 24%)
HSVhsv(87, 73%, 38%)
CMYKcmyk(33.3%, 0%, 72.9%, 62.4%)
CIE-LABlab(36.99, -24.09, 34.70)
CIE-LCHlch(36.99, 42.24, 124.77°)
OKLaboklab(44.86% -0.068 0.0788)
OKLCHoklch(44.86% 0.104 130.8)
XYZxyz(6.4836, 9.5301, 2.4750)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40601A #3A1A60
analogous
#605D1A #40601A #1D601A
triadic
#40601A #1A4060 #601A40
tetradic
#40601A #1A605D #3A1A60 #601A1D
square
#40601A #1A605D #3A1A60 #601A1D
split-complementary
#40601A #1A1D60 #5D1A60
monochromatic
#101807 #20300D #40601A #609027 #80C034

Accessibility & contrast

On white

7.23
#40601A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#40601A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40601A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40601A#FFFFFF#000000##FFFFFF
##40601A1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655910
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#415C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #40601a;
/* rgb */ color: rgb(64, 96, 26);
/* oklch */ color: oklch(44.9% 0.104 130.8);
Tailwind
colors: {
  custom: {
    50: '#788d5b',
    500: '#40601a',
    950: '#000000',
  },
}
SCSS
$custom: #40601a;
$custom-light: #788d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#40601a",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 26
  },
  "hsl": {
    "h": 87.429,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44862,
    "c": 0.10407,
    "h": 130.8
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#40601A
secondary
#674096
accent
#47E18D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #40601A

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

Preview Lab → · Contrast checker → · Palette generator →

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