#40552E#40552E

#40552E is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.1% C 0.066 H 131.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#40552E
RGBrgb(64, 85, 46)
HSLhsl(92, 30%, 26%)
HSVhsv(92, 46%, 33%)
CMYKcmyk(24.7%, 0%, 45.9%, 66.7%)
CIE-LABlab(33.53, -16.01, 20.16)
CIE-LCHlch(33.53, 25.74, 128.45°)
OKLaboklab(42.14% -0.044 0.0493)
OKLCHoklch(42.14% 0.066 131.8)
XYZxyz(5.8559, 7.7841, 3.7782)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40552E #432E55
analogous
#53552E #40552E #2E552F
triadic
#40552E #2E4055 #552E40
tetradic
#40552E #2E5355 #432E55 #552F2E
square
#40552E #2E5355 #432E55 #552F2E
split-complementary
#40552E #2F2E55 #552E53
monochromatic
#0F140B #222D19 #40552E #5E7D43 #7CA459

Accessibility & contrast

On white

8.21
#40552E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#40552E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40552E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40552E#FFFFFF#000000##FFFFFF
##40552E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502B
Deuteranopia (green-blind)
#554E30
Tritanopia (blue-blind)
#41524C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #40552e;
/* rgb */ color: rgb(64, 85, 46);
/* oklch */ color: oklch(42.1% 0.066 131.8);
Tailwind
colors: {
  custom: {
    50: '#768567',
    500: '#40552e',
    950: '#000000',
  },
}
SCSS
$custom: #40552e;
$custom-light: #768567;
$custom-dark: #000000;
JSON
{
  "hex": "#40552e",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 46
  },
  "hsl": {
    "h": 92.308,
    "s": 29.771,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.06606,
    "h": 131.8
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#40552E
secondary
#715887
accent
#62C698
background
#F7F8F6
surface
#EDEFEB
border
#C8CAC6
text
#080B06
muted
#7B7C7A

Preview Lab

Preview with #40552E

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

Preview Lab → · Contrast checker → · Palette generator →

#40552E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva