#40991F#40991F

#40991F is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.176 H 139.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#40991F
RGBrgb(64, 153, 31)
HSLhsl(104, 66%, 36%)
HSVhsv(104, 80%, 60%)
CMYKcmyk(58.2%, 0%, 79.7%, 40%)
CIE-LABlab(56.06, -48.10, 51.68)
CIE-LCHlch(56.06, 70.61, 132.94°)
OKLaboklab(60.53% -0.1326 0.115)
OKLCHoklch(60.53% 0.176 139)
XYZxyz(13.7524, 23.9702, 5.1981)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40991F #781F99
analogous
#7D991F #40991F #1F993B
triadic
#40991F #1F4099 #991F40
tetradic
#40991F #1F7D99 #781F99 #993B1F
square
#40991F #1F7D99 #781F99 #993B1F
split-complementary
#40991F #3B1F99 #991F7D
monochromatic
#15330A #2B6615 #40991F #55CC29 #7ADD56

Accessibility & contrast

On white

3.62
#40991F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#40991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40991F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40991F#FFFFFF#000000##000000
##40991F1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#369482
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40991f;
/* rgb */ color: rgb(64, 153, 31);
/* oklch */ color: oklch(60.5% 0.176 139.0);
Tailwind
colors: {
  custom: {
    50: '#7fb865',
    500: '#40991f',
    950: '#000000',
  },
}
SCSS
$custom: #40991f;
$custom-light: #7fb865;
$custom-dark: #000000;
JSON
{
  "hex": "#40991f",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 103.77,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.17552,
    "h": 139
  },
  "luminance": 0.23971
}

Semantic roles & 50–950 ramp

primary
#40991F
secondary
#A354C0
accent
#3FE9BB
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40991F

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

Preview Lab → · Contrast checker → · Palette generator →

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