#40852D#40852D

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

Color values

HEX#40852D
RGBrgb(64, 133, 45)
HSLhsl(107, 49%, 35%)
HSVhsv(107, 66%, 52%)
CMYKcmyk(51.9%, 0%, 66.2%, 47.8%)
CIE-LABlab(49.56, -39.11, 39.61)
CIE-LCHlch(49.56, 55.67, 134.64°)
OKLaboklab(55.21% -0.1074 0.0917)
OKLCHoklch(55.21% 0.141 139.5)
XYZxyz(10.9751, 18.0537, 5.3885)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40852D #722D85
analogous
#6C852D #40852D #2D8546
triadic
#40852D #2D4085 #852D40
tetradic
#40852D #2D6C85 #722D85 #85462D
square
#40852D #2D6C85 #722D85 #85462D
split-complementary
#40852D #462D85 #852D6C
monochromatic
#142A0E #2A571E #40852D #56B33C #79CA62

Accessibility & contrast

On white

4.55
#40852D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40852D#FFFFFF#000000##000000
##40852D1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40852d;
/* rgb */ color: rgb(64, 133, 45);
/* oklch */ color: oklch(55.2% 0.141 139.5);
Tailwind
colors: {
  custom: {
    50: '#7ba96a',
    500: '#40852d',
    950: '#000000',
  },
}
SCSS
$custom: #40852d;
$custom-light: #7ba96a;
$custom-dark: #000000;
JSON
{
  "hex": "#40852d",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 107.045,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.1412,
    "h": 139.5
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#40852D
secondary
#9F5DB0
accent
#4FD9BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #40852D

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

Preview Lab → · Contrast checker → · Palette generator →

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