#40941F#40941F

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

Color values

HEX#40941F
RGBrgb(64, 148, 31)
HSLhsl(103, 65%, 35%)
HSVhsv(103, 79%, 58%)
CMYKcmyk(56.8%, 0%, 79.1%, 42%)
CIE-LABlab(54.41, -46.22, 50.12)
CIE-LCHlch(54.41, 68.18, 132.68°)
OKLaboklab(59.17% -0.1275 0.1118)
OKLCHoklch(59.17% 0.17 138.8)
XYZxyz(12.9511, 22.3677, 4.9310)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40941F #731F94
analogous
#7A941F #40941F #1F9439
triadic
#40941F #1F4094 #941F40
tetradic
#40941F #1F7A94 #731F94 #94391F
square
#40941F #1F7A94 #731F94 #94391F
split-complementary
#40941F #391F94 #941F7A
monochromatic
#142F0A #2A6114 #40941F #56C72A #79DB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40941F#FFFFFF#000000##000000
##40941F1.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: #40941f;
/* rgb */ color: rgb(64, 148, 31);
/* oklch */ color: oklch(59.2% 0.170 138.8);
Tailwind
colors: {
  custom: {
    50: '#7fb464',
    500: '#40941f',
    950: '#000000',
  },
}
SCSS
$custom: #40941f;
$custom-light: #7fb464;
$custom-dark: #000000;
JSON
{
  "hex": "#40941f",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 103.077,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.16956,
    "h": 138.8
  },
  "luminance": 0.22369
}

Semantic roles & 50–950 ramp

primary
#40941F
secondary
#9F51BE
accent
#3FE8B9
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40941F

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

Preview Lab → · Contrast checker → · Palette generator →

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