#40852B#40852B

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

Color values

HEX#40852B
RGBrgb(64, 133, 43)
HSLhsl(106, 51%, 35%)
HSVhsv(106, 68%, 52%)
CMYKcmyk(51.9%, 0%, 67.7%, 47.8%)
CIE-LABlab(49.54, -39.31, 40.49)
CIE-LCHlch(49.54, 56.43, 134.16°)
OKLaboklab(55.19% -0.1081 0.0933)
OKLCHoklch(55.19% 0.143 139.2)
XYZxyz(10.9375, 18.0387, 5.1905)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40852B #702B85
analogous
#6D852B #40852B #2B8543
triadic
#40852B #2B4085 #852B40
tetradic
#40852B #2B6D85 #702B85 #85432B
square
#40852B #2B6D85 #702B85 #85432B
split-complementary
#40852B #432B85 #852B6D
monochromatic
#13290D #2A571C #40852B #56B33A #78CB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40852B#FFFFFF#000000##000000
##40852B1.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)
#89791F
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#3A8172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40852b;
/* rgb */ color: rgb(64, 133, 43);
/* oklch */ color: oklch(55.2% 0.143 139.2);
Tailwind
colors: {
  custom: {
    50: '#7ca969',
    500: '#40852b',
    950: '#000000',
  },
}
SCSS
$custom: #40852b;
$custom-light: #7ca969;
$custom-dark: #000000;
JSON
{
  "hex": "#40852b",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 106,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.14277,
    "h": 139.2
  },
  "luminance": 0.18039
}

Semantic roles & 50–950 ramp

primary
#40852B
secondary
#9D5BB1
accent
#4DDBBA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #40852B

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

Preview Lab → · Contrast checker → · Palette generator →

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