#40652A#40652A

#40652A is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.4% C 0.097 H 135.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#40652A
RGBrgb(64, 101, 42)
HSLhsl(98, 41%, 28%)
HSVhsv(98, 58%, 40%)
CMYKcmyk(36.6%, 0%, 58.4%, 60.4%)
CIE-LABlab(38.84, -24.94, 28.90)
CIE-LCHlch(38.84, 38.17, 130.80°)
OKLaboklab(46.42% -0.069 0.0684)
OKLCHoklch(46.42% 0.097 135.3)
XYZxyz(7.1858, 10.5642, 3.8505)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40652A #4F2A65
analogous
#5D652A #40652A #2A6531
triadic
#40652A #2A4065 #652A40
tetradic
#40652A #2A5D65 #4F2A65 #65312A
square
#40652A #2A5D65 #4F2A65 #65312A
split-complementary
#40652A #312A65 #652A5D
monochromatic
#0E1609 #253A18 #40652A #5B903C #78B752

Accessibility & contrast

On white

6.75
#40652A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#40652A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40652A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40652A#FFFFFF#000000##FFFFFF
##40652A1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D24
Deuteranopia (green-blind)
#635A2E
Tritanopia (blue-blind)
#3F6158
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #40652a;
/* rgb */ color: rgb(64, 101, 42);
/* oklch */ color: oklch(46.4% 0.097 135.3);
Tailwind
colors: {
  custom: {
    50: '#779165',
    500: '#40652a',
    950: '#000000',
  },
}
SCSS
$custom: #40652a;
$custom-light: #779165;
$custom-dark: #000000;
JSON
{
  "hex": "#40652a",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 42
  },
  "hsl": {
    "h": 97.627,
    "s": 41.259,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46422,
    "c": 0.09713,
    "h": 135.3
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#40652A
secondary
#7E5397
accent
#57D1A3
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #40652A

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

Preview Lab → · Contrast checker → · Palette generator →

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