#40601C#40601C

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

Color values

HEX#40601C
RGBrgb(64, 96, 28)
HSLhsl(88, 55%, 24%)
HSVhsv(88, 71%, 38%)
CMYKcmyk(33.3%, 0%, 70.8%, 62.4%)
CIE-LABlab(37.00, -23.92, 33.81)
CIE-LCHlch(37.00, 41.42, 125.27°)
OKLaboklab(44.88% -0.0674 0.0772)
OKLCHoklch(44.88% 0.102 131.1)
XYZxyz(6.5068, 9.5394, 2.5968)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40601C #3C1C60
analogous
#605E1C #40601C #1E601C
triadic
#40601C #1C4060 #601C40
tetradic
#40601C #1C605E #3C1C60 #601C1E
square
#40601C #1C605E #3C1C60 #601C1E
split-complementary
#40601C #1C1E60 #5E1C60
monochromatic
#101807 #20310E #40601C #608F2A #7FBF38

Accessibility & contrast

On white

7.22
#40601C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40601C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40601C#FFFFFF#000000##FFFFFF
##40601C1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40601c;
/* rgb */ color: rgb(64, 96, 28);
/* oklch */ color: oklch(44.9% 0.102 131.1);
Tailwind
colors: {
  custom: {
    50: '#788d5c',
    500: '#40601c',
    950: '#000000',
  },
}
SCSS
$custom: #40601c;
$custom-light: #788d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#40601c",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 28
  },
  "hsl": {
    "h": 88.235,
    "s": 54.839,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44881,
    "c": 0.10247,
    "h": 131.1
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#40601C
secondary
#694295
accent
#4ADE90
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #40601C

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

Preview Lab → · Contrast checker → · Palette generator →

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