#40862E#40862E

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

Color values

HEX#40862E
RGBrgb(64, 134, 46)
HSLhsl(108, 49%, 35%)
HSVhsv(108, 66%, 53%)
CMYKcmyk(52.2%, 0%, 65.7%, 47.5%)
CIE-LABlab(49.90, -39.43, 39.53)
CIE-LCHlch(49.90, 55.83, 134.93°)
OKLaboklab(55.49% -0.1082 0.0916)
OKLCHoklch(55.49% 0.142 139.7)
XYZxyz(11.1321, 18.3366, 5.5369)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40862E #742E86
analogous
#6C862E #40862E #2E8648
triadic
#40862E #2E4086 #862E40
tetradic
#40862E #2E6C86 #742E86 #86482E
square
#40862E #2E6C86 #742E86 #86482E
split-complementary
#40862E #482E86 #862E6C
monochromatic
#142B0F #2A581E #40862E #56B43E #79CA64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40862E#FFFFFF#000000##000000
##40862E1.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)
#8A7A23
Deuteranopia (green-blind)
#817435
Tritanopia (blue-blind)
#398274
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #40862e;
/* rgb */ color: rgb(64, 134, 46);
/* oklch */ color: oklch(55.5% 0.142 139.7);
Tailwind
colors: {
  custom: {
    50: '#7caa6b',
    500: '#40862e',
    950: '#000000',
  },
}
SCSS
$custom: #40862e;
$custom-light: #7caa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#40862e",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 107.727,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.14175,
    "h": 139.7
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#40862E
secondary
#A05FB1
accent
#4FD8BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #40862E

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

Preview Lab → · Contrast checker → · Palette generator →

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