#40941C#40941C

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

Color values

HEX#40941C
RGBrgb(64, 148, 28)
HSLhsl(102, 68%, 35%)
HSVhsv(102, 81%, 58%)
CMYKcmyk(56.8%, 0%, 81.1%, 42%)
CIE-LABlab(54.40, -46.40, 51.06)
CIE-LCHlch(54.40, 68.99, 132.26°)
OKLaboklab(59.16% -0.1282 0.1133)
OKLCHoklch(59.16% 0.171 138.5)
XYZxyz(12.9134, 22.3526, 4.7324)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40941C #701C94
analogous
#7C941C #40941C #1C9434
triadic
#40941C #1C4094 #941C40
tetradic
#40941C #1C7C94 #701C94 #94341C
square
#40941C #1C7C94 #701C94 #94341C
split-complementary
#40941C #341C94 #941C7C
monochromatic
#132D09 #2A6112 #40941C #56C726 #78DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40941C#FFFFFF#000000##000000
##40941C1.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)
#8E802A
Tritanopia (blue-blind)
#388F7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #40941c;
/* rgb */ color: rgb(64, 148, 28);
/* oklch */ color: oklch(59.2% 0.171 138.5);
Tailwind
colors: {
  custom: {
    50: '#7fb463',
    500: '#40941c',
    950: '#000000',
  },
}
SCSS
$custom: #40941c;
$custom-light: #7fb463;
$custom-dark: #000000;
JSON
{
  "hex": "#40941c",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 102,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.17106,
    "h": 138.5
  },
  "luminance": 0.22354
}

Semantic roles & 50–950 ramp

primary
#40941C
secondary
#9D4CC0
accent
#3DEBB7
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40941C

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

Preview Lab → · Contrast checker → · Palette generator →

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