#40661D#40661D

#40661D is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.5% C 0.110 H 132.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#40661D
RGBrgb(64, 102, 29)
HSLhsl(91, 56%, 26%)
HSVhsv(91, 72%, 40%)
CMYKcmyk(37.3%, 0%, 71.6%, 60%)
CIE-LABlab(39.04, -26.78, 35.51)
CIE-LCHlch(39.04, 44.48, 127.02°)
OKLaboklab(46.54% -0.0751 0.0809)
OKLCHoklch(46.54% 0.11 132.9)
XYZxyz(7.0874, 10.6811, 2.8504)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40661D #431D66
analogous
#64661D #40661D #1D661E
triadic
#40661D #1D4066 #661D40
tetradic
#40661D #1D6466 #431D66 #661E1D
square
#40661D #1D6466 #431D66 #661E1D
split-complementary
#40661D #1E1D66 #661D64
monochromatic
#0F1807 #22360F #40661D #5E962B #7CC538

Accessibility & contrast

On white

6.70
#40661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#40661D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40661D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40661D#FFFFFF#000000##FFFFFF
##40661D1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E13
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#406257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #40661d;
/* rgb */ color: rgb(64, 102, 29);
/* oklch */ color: oklch(46.5% 0.110 132.9);
Tailwind
colors: {
  custom: {
    50: '#78925d',
    500: '#40661d',
    950: '#000000',
  },
}
SCSS
$custom: #40661d;
$custom-light: #78925d;
$custom-dark: #000000;
JSON
{
  "hex": "#40661d",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 91.233,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46542,
    "c": 0.1104,
    "h": 132.9
  },
  "luminance": 0.10681
}

Semantic roles & 50–950 ramp

primary
#40661D
secondary
#71449B
accent
#49DF97
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40661D

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

Preview Lab → · Contrast checker → · Palette generator →

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