#40641A#40641A

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

Color values

HEX#40641A
RGBrgb(64, 100, 26)
HSLhsl(89, 59%, 25%)
HSVhsv(89, 74%, 39%)
CMYKcmyk(36%, 0%, 74%, 60.8%)
CIE-LABlab(38.34, -26.06, 36.10)
CIE-LCHlch(38.34, 44.52, 125.83°)
OKLaboklab(45.96% -0.0734 0.0817)
OKLCHoklch(45.96% 0.11 132)
XYZxyz(6.8579, 10.2787, 2.5997)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40641A #3E1A64
analogous
#64631A #40641A #1B641A
triadic
#40641A #1A4064 #641A40
tetradic
#40641A #1A6463 #3E1A64 #641A1B
square
#40641A #1A6463 #3E1A64 #641A1B
split-complementary
#40641A #1A1B64 #631A64
monochromatic
#101806 #21330D #40641A #5F9527 #7EC533

Accessibility & contrast

On white

6.87
#40641A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #40641A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40641A#FFFFFF#000000##FFFFFF
##40641A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0E
Deuteranopia (green-blind)
#645921
Tritanopia (blue-blind)
#416055
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #40641a;
/* rgb */ color: rgb(64, 100, 26);
/* oklch */ color: oklch(46.0% 0.110 132.0);
Tailwind
colors: {
  custom: {
    50: '#78905b',
    500: '#40641a',
    950: '#000000',
  },
}
SCSS
$custom: #40641a;
$custom-light: #78905b;
$custom-dark: #000000;
JSON
{
  "hex": "#40641a",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 89.189,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45964,
    "c": 0.10983,
    "h": 132
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#40641A
secondary
#6C409A
accent
#46E292
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #40641A

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

Preview Lab → · Contrast checker → · Palette generator →

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