#40852A#40852A

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

Color values

HEX#40852A
RGBrgb(64, 133, 42)
HSLhsl(105, 52%, 34%)
HSVhsv(105, 68%, 52%)
CMYKcmyk(51.9%, 0%, 68.4%, 47.8%)
CIE-LABlab(49.53, -39.41, 40.92)
CIE-LCHlch(49.53, 56.81, 133.92°)
OKLaboklab(55.18% -0.1084 0.0941)
OKLCHoklch(55.18% 0.144 139.1)
XYZxyz(10.9194, 18.0314, 5.0951)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40852A #6F2A85
analogous
#6E852A #40852A #2A8542
triadic
#40852A #2A4085 #852A40
tetradic
#40852A #2A6E85 #6F2A85 #85422A
square
#40852A #2A6E85 #6F2A85 #85422A
split-complementary
#40852A #422A85 #852A6E
monochromatic
#13280D #2A561B #40852A #56B439 #78CC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40852A#FFFFFF#000000##000000
##40852A1.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)
#89791E
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#3A8172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40852a;
/* rgb */ color: rgb(64, 133, 42);
/* oklch */ color: oklch(55.2% 0.144 139.1);
Tailwind
colors: {
  custom: {
    50: '#7ca968',
    500: '#40852a',
    950: '#000000',
  },
}
SCSS
$custom: #40852a;
$custom-light: #7ca968;
$custom-dark: #000000;
JSON
{
  "hex": "#40852a",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 105.495,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55178,
    "c": 0.14353,
    "h": 139.1
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#40852A
secondary
#9C59B2
accent
#4CDBB9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #40852A

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

Preview Lab → · Contrast checker → · Palette generator →

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