#40851E#40851E

#40851E is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.1% C 0.152 H 137.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#40851E
RGBrgb(64, 133, 30)
HSLhsl(100, 63%, 32%)
HSVhsv(100, 77%, 52%)
CMYKcmyk(51.9%, 0%, 77.4%, 47.8%)
CIE-LABlab(49.45, -40.39, 45.65)
CIE-LCHlch(49.45, 60.95, 131.51°)
OKLaboklab(55.08% -0.1119 0.1023)
OKLCHoklch(55.08% 0.152 137.6)
XYZxyz(10.7359, 17.9580, 4.1286)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40851E #631E85
analogous
#74851E #40851E #1E8530
triadic
#40851E #1E4085 #851E40
tetradic
#40851E #1E7485 #631E85 #85301E
square
#40851E #1E7485 #631E85 #85301E
split-complementary
#40851E #301E85 #851E74
monochromatic
#102107 #285313 #40851E #58B729 #77D648

Accessibility & contrast

On white

4.57
#40851E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#40851E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40851E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40851E#FFFFFF#000000##000000
##40851E1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#817329
Tritanopia (blue-blind)
#3B8071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40851e;
/* rgb */ color: rgb(64, 133, 30);
/* oklch */ color: oklch(55.1% 0.152 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ca962',
    500: '#40851e',
    950: '#000000',
  },
}
SCSS
$custom: #40851e;
$custom-light: #7ca962;
$custom-dark: #000000;
JSON
{
  "hex": "#40851e",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 100.194,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55076,
    "c": 0.15159,
    "h": 137.6
  },
  "luminance": 0.17959
}

Semantic roles & 50–950 ramp

primary
#40851E
secondary
#9347B8
accent
#42E6B0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #40851E

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

Preview Lab → · Contrast checker → · Palette generator →

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