#40652C#40652C

#40652C is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.5% C 0.095 H 135.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#40652C
RGBrgb(64, 101, 44)
HSLhsl(99, 39%, 28%)
HSVhsv(99, 56%, 40%)
CMYKcmyk(36.6%, 0%, 56.4%, 60.4%)
CIE-LABlab(38.86, -24.69, 27.86)
CIE-LCHlch(38.86, 37.23, 131.55°)
OKLaboklab(46.45% -0.0681 0.0663)
OKLCHoklch(46.45% 0.095 135.8)
XYZxyz(7.2225, 10.5789, 4.0438)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40652C #512C65
analogous
#5C652C #40652C #2C6534
triadic
#40652C #2C4065 #652C40
tetradic
#40652C #2C5C65 #512C65 #65342C
square
#40652C #2C5C65 #512C65 #65342C
split-complementary
#40652C #342C65 #652C5C
monochromatic
#0E1509 #253A19 #40652C #5B903F #77B556

Accessibility & contrast

On white

6.74
#40652C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#40652C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40652C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40652C#FFFFFF#000000##FFFFFF
##40652C1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685E27
Deuteranopia (green-blind)
#635A30
Tritanopia (blue-blind)
#3F6158
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #40652c;
/* rgb */ color: rgb(64, 101, 44);
/* oklch */ color: oklch(46.5% 0.095 135.8);
Tailwind
colors: {
  custom: {
    50: '#779167',
    500: '#40652c',
    950: '#000000',
  },
}
SCSS
$custom: #40652c;
$custom-light: #779167;
$custom-dark: #000000;
JSON
{
  "hex": "#40652c",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 44
  },
  "hsl": {
    "h": 98.947,
    "s": 39.31,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46451,
    "c": 0.09508,
    "h": 135.8
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#40652C
secondary
#805697
accent
#59CFA6
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #40652C

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

Preview Lab → · Contrast checker → · Palette generator →

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