#40881D#40881D

#40881D is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.156 H 137.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#40881D
RGBrgb(64, 136, 29)
HSLhsl(100, 65%, 32%)
HSVhsv(100, 79%, 53%)
CMYKcmyk(52.9%, 0%, 78.7%, 46.7%)
CIE-LABlab(50.44, -41.67, 46.96)
CIE-LCHlch(50.44, 62.79, 131.58°)
OKLaboklab(55.89% -0.1154 0.1049)
OKLCHoklch(55.89% 0.156 137.7)
XYZxyz(11.1399, 18.7862, 4.2012)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40881D #651D88
analogous
#75881D #40881D #1D8830
triadic
#40881D #1D4088 #881D40
tetradic
#40881D #1D7588 #651D88 #88301D
square
#40881D #1D7588 #651D88 #88301D
split-complementary
#40881D #301D88 #881D75
monochromatic
#112307 #285612 #40881D #58BA28 #77D848

Accessibility & contrast

On white

4.41
#40881D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#40881D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40881D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40881D#FFFFFF#000000##000000
##40881D1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C03
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#3B8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #40881d;
/* rgb */ color: rgb(64, 136, 29);
/* oklch */ color: oklch(55.9% 0.156 137.7);
Tailwind
colors: {
  custom: {
    50: '#7dab62',
    500: '#40881d',
    950: '#000000',
  },
}
SCSS
$custom: #40881d;
$custom-light: #7dab62;
$custom-dark: #000000;
JSON
{
  "hex": "#40881d",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 100.374,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5589,
    "c": 0.15593,
    "h": 137.7
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#40881D
secondary
#9447BA
accent
#40E8B1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #40881D

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

Preview Lab → · Contrast checker → · Palette generator →

#40881D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva