#40941E#40941E

#40941E is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.170 H 138.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#40941E
RGBrgb(64, 148, 30)
HSLhsl(103, 66%, 35%)
HSVhsv(103, 80%, 58%)
CMYKcmyk(56.8%, 0%, 79.7%, 42%)
CIE-LABlab(54.41, -46.28, 50.44)
CIE-LCHlch(54.41, 68.46, 132.54°)
OKLaboklab(59.17% -0.1277 0.1123)
OKLCHoklch(59.17% 0.17 138.7)
XYZxyz(12.9381, 22.3625, 4.8626)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40941E #721E94
analogous
#7B941E #40941E #1E9437
triadic
#40941E #1E4094 #941E40
tetradic
#40941E #1E7B94 #721E94 #94371E
square
#40941E #1E7B94 #721E94 #94371E
split-complementary
#40941E #371E94 #941E7B
monochromatic
#142E09 #2A6114 #40941E #56C728 #79DC51

Accessibility & contrast

On white

3.84
#40941E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#40941E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40941E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40941E#FFFFFF#000000##000000
##40941E1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#388F7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #40941e;
/* rgb */ color: rgb(64, 148, 30);
/* oklch */ color: oklch(59.2% 0.170 138.7);
Tailwind
colors: {
  custom: {
    50: '#7fb464',
    500: '#40941e',
    950: '#000000',
  },
}
SCSS
$custom: #40941e;
$custom-light: #7fb464;
$custom-dark: #000000;
JSON
{
  "hex": "#40941e",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 102.712,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.17007,
    "h": 138.7
  },
  "luminance": 0.22364
}

Semantic roles & 50–950 ramp

primary
#40941E
secondary
#9F4FBF
accent
#3FE9B8
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40941E

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

Preview Lab → · Contrast checker → · Palette generator →

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