#40852C#40852C

#40852C is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.2% C 0.142 H 139.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#40852C
RGBrgb(64, 133, 44)
HSLhsl(107, 50%, 35%)
HSVhsv(107, 67%, 52%)
CMYKcmyk(51.9%, 0%, 66.9%, 47.8%)
CIE-LABlab(49.55, -39.21, 40.05)
CIE-LCHlch(49.55, 56.05, 134.40°)
OKLaboklab(55.2% -0.1077 0.0925)
OKLCHoklch(55.2% 0.142 139.4)
XYZxyz(10.9561, 18.0461, 5.2883)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40852C #712C85
analogous
#6C852C #40852C #2C8545
triadic
#40852C #2C4085 #852C40
tetradic
#40852C #2C6C85 #712C85 #85452C
square
#40852C #2C6C85 #712C85 #85452C
split-complementary
#40852C #452C85 #852C6C
monochromatic
#14290E #2A571D #40852C #56B33B #79CB61

Accessibility & contrast

On white

4.56
#40852C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#40852C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40852C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40852C#FFFFFF#000000##000000
##40852C1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897921
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#3A8173
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40852c;
/* rgb */ color: rgb(64, 133, 44);
/* oklch */ color: oklch(55.2% 0.142 139.4);
Tailwind
colors: {
  custom: {
    50: '#7ba969',
    500: '#40852c',
    950: '#000000',
  },
}
SCSS
$custom: #40852c;
$custom-light: #7ba969;
$custom-dark: #000000;
JSON
{
  "hex": "#40852c",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 106.517,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55198,
    "c": 0.14198,
    "h": 139.4
  },
  "luminance": 0.18047
}

Semantic roles & 50–950 ramp

primary
#40852C
secondary
#9E5CB1
accent
#4EDABA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #40852C

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

Preview Lab → · Contrast checker → · Palette generator →

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