#40991C#40991C

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

Color values

HEX#40991C
RGBrgb(64, 153, 28)
HSLhsl(103, 69%, 35%)
HSVhsv(103, 82%, 60%)
CMYKcmyk(58.2%, 0%, 81.7%, 40%)
CIE-LABlab(56.04, -48.28, 52.59)
CIE-LCHlch(56.04, 71.39, 132.55°)
OKLaboklab(60.51% -0.1332 0.1165)
OKLCHoklch(60.51% 0.177 138.8)
XYZxyz(13.7146, 23.9551, 4.9995)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40991C #751C99
analogous
#7E991C #40991C #1C9936
triadic
#40991C #1C4099 #991C40
tetradic
#40991C #1C7E99 #751C99 #99361C
square
#40991C #1C7E99 #751C99 #99361C
split-complementary
#40991C #361C99 #991C7E
monochromatic
#153209 #2A6513 #40991C #56CD25 #79DF50

Accessibility & contrast

On white

3.63
#40991C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40991C#FFFFFF#000000##000000
##40991C1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40991c;
/* rgb */ color: rgb(64, 153, 28);
/* oklch */ color: oklch(60.5% 0.177 138.8);
Tailwind
colors: {
  custom: {
    50: '#80b864',
    500: '#40991c',
    950: '#000000',
  },
}
SCSS
$custom: #40991c;
$custom-light: #80b864;
$custom-dark: #000000;
JSON
{
  "hex": "#40991c",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 102.72,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60513,
    "c": 0.17697,
    "h": 138.8
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#40991C
secondary
#A14FC2
accent
#3CECB9
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40991C

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

Preview Lab → · Contrast checker → · Palette generator →

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