#40652B#40652B

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

Color values

HEX#40652B
RGBrgb(64, 101, 43)
HSLhsl(98, 40%, 28%)
HSVhsv(98, 57%, 40%)
CMYKcmyk(36.6%, 0%, 57.4%, 60.4%)
CIE-LABlab(38.85, -24.82, 28.38)
CIE-LCHlch(38.85, 37.70, 131.17°)
OKLaboklab(46.44% -0.0686 0.0673)
OKLCHoklch(46.44% 0.096 135.5)
XYZxyz(7.2039, 10.5715, 3.9460)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40652B #502B65
analogous
#5D652B #40652B #2B6533
triadic
#40652B #2B4065 #652B40
tetradic
#40652B #2B5D65 #502B65 #65332B
square
#40652B #2B5D65 #502B65 #65332B
split-complementary
#40652B #332B65 #652B5D
monochromatic
#0E1509 #253A19 #40652B #5B903D #78B654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40652B#FFFFFF#000000##FFFFFF
##40652B1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40652b;
/* rgb */ color: rgb(64, 101, 43);
/* oklch */ color: oklch(46.4% 0.096 135.5);
Tailwind
colors: {
  custom: {
    50: '#779166',
    500: '#40652b',
    950: '#000000',
  },
}
SCSS
$custom: #40652b;
$custom-light: #779166;
$custom-dark: #000000;
JSON
{
  "hex": "#40652b",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 43
  },
  "hsl": {
    "h": 98.276,
    "s": 40.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46436,
    "c": 0.09611,
    "h": 135.5
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#40652B
secondary
#7F5597
accent
#58D0A5
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #40652B

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

Preview Lab → · Contrast checker → · Palette generator →

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