#40881E#40881E

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

Color values

HEX#40881E
RGBrgb(64, 136, 30)
HSLhsl(101, 64%, 33%)
HSVhsv(101, 78%, 53%)
CMYKcmyk(52.9%, 0%, 77.9%, 46.7%)
CIE-LABlab(50.44, -41.60, 46.62)
CIE-LCHlch(50.44, 62.48, 131.75°)
OKLaboklab(55.9% -0.1152 0.1043)
OKLCHoklch(55.9% 0.155 137.8)
XYZxyz(11.1525, 18.7912, 4.2674)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40881E #661E88
analogous
#75881E #40881E #1E8831
triadic
#40881E #1E4088 #881E40
tetradic
#40881E #1E7588 #661E88 #88311E
square
#40881E #1E7588 #661E88 #88311E
split-complementary
#40881E #311E88 #881E75
monochromatic
#112408 #285613 #40881E #58BA29 #77D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40881E#FFFFFF#000000##000000
##40881E1.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)
#8C7C05
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#3B8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #40881e;
/* rgb */ color: rgb(64, 136, 30);
/* oklch */ color: oklch(55.9% 0.155 137.8);
Tailwind
colors: {
  custom: {
    50: '#7dab62',
    500: '#40881e',
    950: '#000000',
  },
}
SCSS
$custom: #40881e;
$custom-light: #7dab62;
$custom-dark: #000000;
JSON
{
  "hex": "#40881e",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 100.755,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55897,
    "c": 0.15537,
    "h": 137.8
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#40881E
secondary
#9549B9
accent
#41E7B2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #40881E

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

Preview Lab → · Contrast checker → · Palette generator →

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