#40891C#40891C

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

Color values

HEX#40891C
RGBrgb(64, 137, 28)
HSLhsl(100, 66%, 32%)
HSVhsv(100, 80%, 54%)
CMYKcmyk(53.3%, 0%, 79.6%, 46.3%)
CIE-LABlab(50.76, -42.13, 47.62)
CIE-LCHlch(50.76, 63.58, 131.51°)
OKLaboklab(56.16% -0.1167 0.1061)
OKLCHoklch(56.16% 0.158 137.7)
XYZxyz(11.2692, 19.0643, 4.1843)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40891C #651C89
analogous
#77891C #40891C #1C892E
triadic
#40891C #1C4089 #891C40
tetradic
#40891C #1C7789 #651C89 #892E1C
square
#40891C #1C7789 #651C89 #892E1C
split-complementary
#40891C #2E1C89 #891C77
monochromatic
#112307 #285612 #40891C #58BC26 #77D946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40891C#FFFFFF#000000##000000
##40891C1.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)
#8E7D00
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#3B8475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #40891c;
/* rgb */ color: rgb(64, 137, 28);
/* oklch */ color: oklch(56.2% 0.158 137.7);
Tailwind
colors: {
  custom: {
    50: '#7dac61',
    500: '#40891c',
    950: '#000000',
  },
}
SCSS
$custom: #40891c;
$custom-light: #7dac61;
$custom-dark: #000000;
JSON
{
  "hex": "#40891c",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 100.183,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.15772,
    "h": 137.7
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#40891C
secondary
#9446BB
accent
#3FE9B1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #40891C

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

Preview Lab → · Contrast checker → · Palette generator →

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