#40661E#40661E

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

Color values

HEX#40661E
RGBrgb(64, 102, 30)
HSLhsl(92, 55%, 26%)
HSVhsv(92, 71%, 40%)
CMYKcmyk(37.3%, 0%, 70.6%, 60%)
CIE-LABlab(39.05, -26.69, 35.07)
CIE-LCHlch(39.05, 44.07, 127.28°)
OKLaboklab(46.55% -0.0748 0.0801)
OKLCHoklch(46.55% 0.11 133)
XYZxyz(7.1000, 10.6862, 2.9166)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40661E #441E66
analogous
#64661E #40661E #1E6620
triadic
#40661E #1E4066 #661E40
tetradic
#40661E #1E6466 #441E66 #66201E
square
#40661E #1E6466 #441E66 #66201E
split-complementary
#40661E #201E66 #661E64
monochromatic
#0F1807 #223710 #40661E #5E952C #7BC53A

Accessibility & contrast

On white

6.69
#40661E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #40661E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40661E#FFFFFF#000000##FFFFFF
##40661E1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40661e;
/* rgb */ color: rgb(64, 102, 30);
/* oklch */ color: oklch(46.6% 0.110 133.0);
Tailwind
colors: {
  custom: {
    50: '#78925e',
    500: '#40661e',
    950: '#000000',
  },
}
SCSS
$custom: #40661e;
$custom-light: #78925e;
$custom-dark: #000000;
JSON
{
  "hex": "#40661e",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 91.667,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.1096,
    "h": 133
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#40661E
secondary
#72459B
accent
#4ADE98
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40661E

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

Preview Lab → · Contrast checker → · Palette generator →

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