#40891D#40891D

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

Color values

HEX#40891D
RGBrgb(64, 137, 29)
HSLhsl(101, 65%, 33%)
HSVhsv(101, 79%, 54%)
CMYKcmyk(53.3%, 0%, 78.8%, 46.3%)
CIE-LABlab(50.77, -42.07, 47.28)
CIE-LCHlch(50.77, 63.29, 131.66°)
OKLaboklab(56.16% -0.1165 0.1055)
OKLCHoklch(56.16% 0.157 137.8)
XYZxyz(11.2814, 19.0692, 4.2484)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40891D #661D89
analogous
#76891D #40891D #1D8930
triadic
#40891D #1D4089 #891D40
tetradic
#40891D #1D7689 #661D89 #89301D
square
#40891D #1D7689 #661D89 #89301D
split-complementary
#40891D #301D89 #891D76
monochromatic
#112408 #285612 #40891D #58BC28 #77D848

Accessibility & contrast

On white

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

On black

4.81
#40891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40891D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40891D#FFFFFF#000000##000000
##40891D1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D02
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#3A8475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #40891d;
/* rgb */ color: rgb(64, 137, 29);
/* oklch */ color: oklch(56.2% 0.157 137.8);
Tailwind
colors: {
  custom: {
    50: '#7dac62',
    500: '#40891d',
    950: '#000000',
  },
}
SCSS
$custom: #40891d;
$custom-light: #7dac62;
$custom-dark: #000000;
JSON
{
  "hex": "#40891d",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 100.556,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.15717,
    "h": 137.8
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#40891D
secondary
#9547BA
accent
#40E8B2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #40891D

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

Preview Lab → · Contrast checker → · Palette generator →

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