#40852F#40852F

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

Color values

HEX#40852F
RGBrgb(64, 133, 47)
HSLhsl(108, 48%, 35%)
HSVhsv(108, 65%, 52%)
CMYKcmyk(51.9%, 0%, 64.7%, 47.8%)
CIE-LABlab(49.58, -38.90, 38.71)
CIE-LCHlch(49.58, 54.88, 135.14°)
OKLaboklab(55.23% -0.1067 0.09)
OKLCHoklch(55.23% 0.14 139.9)
XYZxyz(11.0145, 18.0695, 5.5961)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40852F #742F85
analogous
#6B852F #40852F #2F8549
triadic
#40852F #2F4085 #852F40
tetradic
#40852F #2F6B85 #742F85 #85492F
square
#40852F #2F6B85 #742F85 #85492F
split-complementary
#40852F #492F85 #852F6B
monochromatic
#142B0F #2A581F #40852F #56B23F #79C966

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40852F#FFFFFF#000000##000000
##40852F1.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)
#897A25
Deuteranopia (green-blind)
#807436
Tritanopia (blue-blind)
#398173
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40852f;
/* rgb */ color: rgb(64, 133, 47);
/* oklch */ color: oklch(55.2% 0.140 139.9);
Tailwind
colors: {
  custom: {
    50: '#7ba96b',
    500: '#40852f',
    950: '#000000',
  },
}
SCSS
$custom: #40852f;
$custom-light: #7ba96b;
$custom-dark: #000000;
JSON
{
  "hex": "#40852f",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 108.14,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5523,
    "c": 0.13958,
    "h": 139.9
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#40852F
secondary
#A060B0
accent
#50D7BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #40852F

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

Preview Lab → · Contrast checker → · Palette generator →

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