#40601B#40601B

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

Color values

HEX#40601B
RGBrgb(64, 96, 27)
HSLhsl(88, 56%, 24%)
HSVhsv(88, 72%, 38%)
CMYKcmyk(33.3%, 0%, 71.9%, 62.4%)
CIE-LABlab(36.99, -24.00, 34.26)
CIE-LCHlch(36.99, 41.83, 125.02°)
OKLaboklab(44.87% -0.0677 0.078)
OKLCHoklch(44.87% 0.103 131)
XYZxyz(6.4950, 9.5346, 2.5349)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40601B #3B1B60
analogous
#605E1B #40601B #1E601B
triadic
#40601B #1B4060 #601B40
tetradic
#40601B #1B605E #3B1B60 #601B1E
square
#40601B #1B605E #3B1B60 #601B1E
split-complementary
#40601B #1B1E60 #5E1B60
monochromatic
#101807 #20300E #40601B #609028 #80C036

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40601B#FFFFFF#000000##FFFFFF
##40601B1.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)
#645911
Deuteranopia (green-blind)
#605621
Tritanopia (blue-blind)
#415C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #40601b;
/* rgb */ color: rgb(64, 96, 27);
/* oklch */ color: oklch(44.9% 0.103 131.0);
Tailwind
colors: {
  custom: {
    50: '#788d5c',
    500: '#40601b',
    950: '#000000',
  },
}
SCSS
$custom: #40601b;
$custom-light: #788d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#40601b",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 27
  },
  "hsl": {
    "h": 87.826,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44871,
    "c": 0.10328,
    "h": 131
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#40601B
secondary
#684196
accent
#48DF8E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #40601B

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

Preview Lab → · Contrast checker → · Palette generator →

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