#40891E#40891E

#40891E is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.157 H 137.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#40891E
RGBrgb(64, 137, 30)
HSLhsl(101, 64%, 33%)
HSVhsv(101, 78%, 54%)
CMYKcmyk(53.3%, 0%, 78.1%, 46.3%)
CIE-LABlab(50.77, -42.00, 46.94)
CIE-LCHlch(50.77, 62.99, 131.82°)
OKLaboklab(56.17% -0.1162 0.105)
OKLCHoklch(56.17% 0.157 137.9)
XYZxyz(11.2940, 19.0742, 4.3146)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40891E #671E89
analogous
#75891E #40891E #1E8932
triadic
#40891E #1E4089 #891E40
tetradic
#40891E #1E7589 #671E89 #89321E
square
#40891E #1E7589 #671E89 #89321E
split-complementary
#40891E #321E89 #891E75
monochromatic
#112508 #295713 #40891E #57BB29 #77D74A

Accessibility & contrast

On white

4.36
#40891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#40891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40891E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40891E#FFFFFF#000000##000000
##40891E1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D05
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#3A8475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #40891e;
/* rgb */ color: rgb(64, 137, 30);
/* oklch */ color: oklch(56.2% 0.157 137.9);
Tailwind
colors: {
  custom: {
    50: '#7dac62',
    500: '#40891e',
    950: '#000000',
  },
}
SCSS
$custom: #40891e;
$custom-light: #7dac62;
$custom-dark: #000000;
JSON
{
  "hex": "#40891e",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 100.935,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5617,
    "c": 0.15662,
    "h": 137.9
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#40891E
secondary
#9649BA
accent
#41E7B2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #40891E

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

Preview Lab → · Contrast checker → · Palette generator →

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