#40652D#40652D

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

Color values

HEX#40652D
RGBrgb(64, 101, 45)
HSLhsl(100, 38%, 29%)
HSVhsv(100, 55%, 40%)
CMYKcmyk(36.6%, 0%, 55.4%, 60.4%)
CIE-LABlab(38.88, -24.56, 27.34)
CIE-LCHlch(38.88, 36.75, 131.94°)
OKLaboklab(46.47% -0.0677 0.0652)
OKLCHoklch(46.47% 0.094 136.1)
XYZxyz(7.2415, 10.5865, 4.1440)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40652D #522D65
analogous
#5C652D #40652D #2D6536
triadic
#40652D #2D4065 #652D40
tetradic
#40652D #2D5C65 #522D65 #65362D
square
#40652D #2D5C65 #522D65 #65362D
split-complementary
#40652D #362D65 #652D5C
monochromatic
#0D1509 #253B1A #40652D #5B8F40 #77B558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40652D#FFFFFF#000000##FFFFFF
##40652D1.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)
#685E28
Deuteranopia (green-blind)
#635A31
Tritanopia (blue-blind)
#3F6258
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #40652d;
/* rgb */ color: rgb(64, 101, 45);
/* oklch */ color: oklch(46.5% 0.094 136.1);
Tailwind
colors: {
  custom: {
    50: '#779167',
    500: '#40652d',
    950: '#000000',
  },
}
SCSS
$custom: #40652d;
$custom-light: #779167;
$custom-dark: #000000;
JSON
{
  "hex": "#40652d",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 45
  },
  "hsl": {
    "h": 99.643,
    "s": 38.356,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46466,
    "c": 0.09403,
    "h": 136.1
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#40652D
secondary
#815797
accent
#5ACEA7
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #40652D

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

Preview Lab → · Contrast checker → · Palette generator →

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