#40862F#40862F

#40862F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.5% C 0.141 H 139.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#40862F
RGBrgb(64, 134, 47)
HSLhsl(108, 48%, 35%)
HSVhsv(108, 65%, 53%)
CMYKcmyk(52.2%, 0%, 64.9%, 47.5%)
CIE-LABlab(49.91, -39.32, 39.08)
CIE-LCHlch(49.91, 55.44, 135.18°)
OKLaboklab(55.5% -0.1078 0.0908)
OKLCHoklch(55.5% 0.141 139.9)
XYZxyz(11.1521, 18.3446, 5.6420)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40862F #752F86
analogous
#6B862F #40862F #2F8649
triadic
#40862F #2F4086 #862F40
tetradic
#40862F #2F6B86 #752F86 #86492F
square
#40862F #2F6B86 #752F86 #86492F
split-complementary
#40862F #492F86 #862F6B
monochromatic
#152B0F #2A591F #40862F #56B33F #79C966

Accessibility & contrast

On white

4.50
#40862F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#40862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40862F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40862F#FFFFFF#000000##000000
##40862F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A25
Deuteranopia (green-blind)
#807436
Tritanopia (blue-blind)
#398274
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #40862f;
/* rgb */ color: rgb(64, 134, 47);
/* oklch */ color: oklch(55.5% 0.141 139.9);
Tailwind
colors: {
  custom: {
    50: '#7baa6b',
    500: '#40862f',
    950: '#000000',
  },
}
SCSS
$custom: #40862f;
$custom-light: #7baa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#40862f",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 108.276,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55503,
    "c": 0.14094,
    "h": 139.9
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

primary
#40862F
secondary
#A160B0
accent
#50D8BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #40862F

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

Preview Lab → · Contrast checker → · Palette generator →

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