#40641E#40641E

#40641E is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.0% C 0.107 H 132.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#40641E
RGBrgb(64, 100, 30)
HSLhsl(91, 54%, 25%)
HSVhsv(91, 70%, 39%)
CMYKcmyk(36%, 0%, 70%, 60.8%)
CIE-LABlab(38.37, -25.72, 34.35)
CIE-LCHlch(38.37, 42.91, 126.83°)
OKLaboklab(46% -0.0721 0.0786)
OKLCHoklch(46% 0.107 132.5)
XYZxyz(6.9058, 10.2978, 2.8519)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40641E #421E64
analogous
#63641E #40641E #1E641F
triadic
#40641E #1E4064 #641E40
tetradic
#40641E #1E6364 #421E64 #641F1E
square
#40641E #1E6364 #421E64 #641F1E
split-complementary
#40641E #1F1E64 #641E63
monochromatic
#0F1807 #223510 #40641E #5E932C #7CC23A

Accessibility & contrast

On white

6.86
#40641E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#40641E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40641E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40641E#FFFFFF#000000##FFFFFF
##40641E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C15
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#416056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #40641e;
/* rgb */ color: rgb(64, 100, 30);
/* oklch */ color: oklch(46.0% 0.107 132.5);
Tailwind
colors: {
  custom: {
    50: '#78905e',
    500: '#40641e',
    950: '#000000',
  },
}
SCSS
$custom: #40641e;
$custom-light: #78905e;
$custom-dark: #000000;
JSON
{
  "hex": "#40641e",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 30
  },
  "hsl": {
    "h": 90.857,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.10669,
    "h": 132.5
  },
  "luminance": 0.10298
}

Semantic roles & 50–950 ramp

primary
#40641E
secondary
#704599
accent
#4BDD96
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #40641E

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

Preview Lab → · Contrast checker → · Palette generator →

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