#40601E#40601E

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

Color values

HEX#40601E
RGBrgb(64, 96, 30)
HSLhsl(89, 52%, 25%)
HSVhsv(89, 69%, 38%)
CMYKcmyk(33.3%, 0%, 68.7%, 62.4%)
CIE-LABlab(37.02, -23.74, 32.90)
CIE-LCHlch(37.02, 40.57, 125.81°)
OKLaboklab(44.9% -0.0667 0.0756)
OKLCHoklch(44.9% 0.101 131.4)
XYZxyz(6.5315, 9.5493, 2.7271)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40601E #3E1E60
analogous
#605F1E #40601E #1F601E
triadic
#40601E #1E4060 #601E40
tetradic
#40601E #1E605F #3E1E60 #601E1F
square
#40601E #1E605F #3E1E60 #601E1F
split-complementary
#40601E #1E1F60 #5F1E60
monochromatic
#101707 #21310F #40601E #5F8F2D #7EBD3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40601E#FFFFFF#000000##FFFFFF
##40601E1.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)
#645916
Deuteranopia (green-blind)
#605623
Tritanopia (blue-blind)
#415C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #40601e;
/* rgb */ color: rgb(64, 96, 30);
/* oklch */ color: oklch(44.9% 0.101 131.4);
Tailwind
colors: {
  custom: {
    50: '#778d5d',
    500: '#40601e',
    950: '#000000',
  },
}
SCSS
$custom: #40601e;
$custom-light: #778d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#40601e",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 30
  },
  "hsl": {
    "h": 89.091,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.10079,
    "h": 131.4
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#40601E
secondary
#6C4595
accent
#4CDC92
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #40601E

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

Preview Lab → · Contrast checker → · Palette generator →

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