#40661C#40661C

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

Color values

HEX#40661C
RGBrgb(64, 102, 28)
HSLhsl(91, 57%, 25%)
HSVhsv(91, 73%, 40%)
CMYKcmyk(37.3%, 0%, 72.5%, 60%)
CIE-LABlab(39.03, -26.87, 35.94)
CIE-LCHlch(39.03, 44.87, 126.78°)
OKLaboklab(46.53% -0.0754 0.0817)
OKLCHoklch(46.53% 0.111 132.7)
XYZxyz(7.0752, 10.6763, 2.7863)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40661C #421C66
analogous
#65661C #40661C #1C661D
triadic
#40661C #1C4066 #661C40
tetradic
#40661C #1C6566 #421C66 #661D1C
square
#40661C #1C6566 #421C66 #661D1C
split-complementary
#40661C #1D1C66 #661C65
monochromatic
#0F1807 #22360F #40661C #5E9629 #7CC636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40661C#FFFFFF#000000##FFFFFF
##40661C1.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)
#6A5E11
Deuteranopia (green-blind)
#655B22
Tritanopia (blue-blind)
#416257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #40661c;
/* rgb */ color: rgb(64, 102, 28);
/* oklch */ color: oklch(46.5% 0.111 132.7);
Tailwind
colors: {
  custom: {
    50: '#78925d',
    500: '#40661c',
    950: '#000000',
  },
}
SCSS
$custom: #40661c;
$custom-light: #78925d;
$custom-dark: #000000;
JSON
{
  "hex": "#40661c",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 90.811,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46533,
    "c": 0.11117,
    "h": 132.7
  },
  "luminance": 0.10677
}

Semantic roles & 50–950 ramp

primary
#40661C
secondary
#70439B
accent
#48E096
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40661C

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

Preview Lab → · Contrast checker → · Palette generator →

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