#40861F#40861F

#40861F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.4% C 0.152 H 137.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#40861F
RGBrgb(64, 134, 31)
HSLhsl(101, 62%, 32%)
HSVhsv(101, 77%, 53%)
CMYKcmyk(52.2%, 0%, 76.9%, 47.5%)
CIE-LABlab(49.78, -40.73, 45.62)
CIE-LCHlch(49.78, 61.15, 131.76°)
OKLaboklab(55.36% -0.1127 0.1024)
OKLCHoklch(55.36% 0.152 137.8)
XYZxyz(10.8864, 18.2383, 4.2427)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40861F #651F86
analogous
#73861F #40861F #1F8632
triadic
#40861F #1F4086 #861F40
tetradic
#40861F #1F7386 #651F86 #86321F
square
#40861F #1F7386 #651F86 #86321F
split-complementary
#40861F #321F86 #861F73
monochromatic
#112308 #285414 #40861F #58B82A #77D54A

Accessibility & contrast

On white

4.52
#40861F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#40861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40861F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40861F#FFFFFF#000000##000000
##40861F1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A09
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#3B8172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40861f;
/* rgb */ color: rgb(64, 134, 31);
/* oklch */ color: oklch(55.4% 0.152 137.8);
Tailwind
colors: {
  custom: {
    50: '#7caa62',
    500: '#40861f',
    950: '#000000',
  },
}
SCSS
$custom: #40861f;
$custom-light: #7caa62;
$custom-dark: #000000;
JSON
{
  "hex": "#40861f",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 100.777,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55357,
    "c": 0.15228,
    "h": 137.8
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#40861F
secondary
#9449B8
accent
#42E5B1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #40861F

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

Preview Lab → · Contrast checker → · Palette generator →

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