#40641D#40641D

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

Color values

HEX#40641D
RGBrgb(64, 100, 29)
HSLhsl(90, 55%, 25%)
HSVhsv(90, 71%, 39%)
CMYKcmyk(36%, 0%, 71%, 60.8%)
CIE-LABlab(38.36, -25.81, 34.80)
CIE-LCHlch(38.36, 43.32, 126.57°)
OKLaboklab(45.99% -0.0725 0.0794)
OKLCHoklch(45.99% 0.108 132.4)
XYZxyz(6.8932, 10.2928, 2.7857)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40641D #411D64
analogous
#63641D #40641D #1D641E
triadic
#40641D #1D4064 #641D40
tetradic
#40641D #1D6364 #411D64 #641E1D
square
#40641D #1D6364 #411D64 #641E1D
split-complementary
#40641D #1E1D64 #641D63
monochromatic
#0F1807 #22350F #40641D #5E932B #7DC339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40641D#FFFFFF#000000##FFFFFF
##40641D1.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)
#685C13
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#416056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #40641d;
/* rgb */ color: rgb(64, 100, 29);
/* oklch */ color: oklch(46.0% 0.108 132.4);
Tailwind
colors: {
  custom: {
    50: '#78905d',
    500: '#40641d',
    950: '#000000',
  },
}
SCSS
$custom: #40641d;
$custom-light: #78905d;
$custom-dark: #000000;
JSON
{
  "hex": "#40641d",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 29
  },
  "hsl": {
    "h": 90.423,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.10751,
    "h": 132.4
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#40641D
secondary
#6F4499
accent
#49DE95
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #40641D

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

Preview Lab → · Contrast checker → · Palette generator →

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