#40552F#40552F

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

Color values

HEX#40552F
RGBrgb(64, 85, 47)
HSLhsl(93, 29%, 26%)
HSVhsv(93, 45%, 33%)
CMYKcmyk(24.7%, 0%, 44.7%, 66.7%)
CIE-LABlab(33.55, -15.86, 19.59)
CIE-LCHlch(33.55, 25.21, 128.99°)
OKLaboklab(42.16% -0.0435 0.048)
OKLCHoklch(42.16% 0.065 132.2)
XYZxyz(5.8758, 7.7921, 3.8832)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40552F #442F55
analogous
#53552F #40552F #2F5531
triadic
#40552F #2F4055 #552F40
tetradic
#40552F #2F5355 #442F55 #55312F
square
#40552F #2F5355 #442F55 #55312F
split-complementary
#40552F #312F55 #552F53
monochromatic
#0F140B #222E19 #40552F #5E7C45 #7BA45B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40552F#FFFFFF#000000##FFFFFF
##40552F1.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)
#58502C
Deuteranopia (green-blind)
#554E31
Tritanopia (blue-blind)
#41524C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #40552f;
/* rgb */ color: rgb(64, 85, 47);
/* oklch */ color: oklch(42.2% 0.065 132.2);
Tailwind
colors: {
  custom: {
    50: '#768568',
    500: '#40552f',
    950: '#000000',
  },
}
SCSS
$custom: #40552f;
$custom-light: #768568;
$custom-dark: #000000;
JSON
{
  "hex": "#40552f",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 47
  },
  "hsl": {
    "h": 93.158,
    "s": 28.788,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.0648,
    "h": 132.2
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#40552F
secondary
#725986
accent
#63C599
background
#F7F8F6
surface
#EDEFEB
border
#C8CAC6
text
#080B06
muted
#7B7C7A

Preview Lab

Preview with #40552F

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

Preview Lab → · Contrast checker → · Palette generator →

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