#40991B#40991B

#40991B 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#40991B
RGBrgb(64, 153, 27)
HSLhsl(102, 70%, 35%)
HSVhsv(102, 82%, 60%)
CMYKcmyk(58.2%, 0%, 82.4%, 40%)
CIE-LABlab(56.04, -48.33, 52.88)
CIE-LCHlch(56.04, 71.64, 132.43°)
OKLaboklab(60.51% -0.1334 0.117)
OKLCHoklch(60.51% 0.177 138.8)
XYZxyz(13.7029, 23.9504, 4.9375)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40991B #741B99
analogous
#7F991B #40991B #1B9935
triadic
#40991B #1B4099 #991B40
tetradic
#40991B #1B7F99 #741B99 #99351B
square
#40991B #1B7F99 #741B99 #99351B
split-complementary
#40991B #351B99 #991B7F
monochromatic
#143109 #2A6512 #40991B #56CD24 #79E04F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40991B#FFFFFF#000000##000000
##40991B1.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: #40991b;
/* rgb */ color: rgb(64, 153, 27);
/* oklch */ color: oklch(60.5% 0.177 138.8);
Tailwind
colors: {
  custom: {
    50: '#80b863',
    500: '#40991b',
    950: '#000000',
  },
}
SCSS
$custom: #40991b;
$custom-light: #80b863;
$custom-dark: #000000;
JSON
{
  "hex": "#40991b",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 102.381,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60508,
    "c": 0.17741,
    "h": 138.8
  },
  "luminance": 0.23952
}

Semantic roles & 50–950 ramp

primary
#40991B
secondary
#A04EC2
accent
#3BEDB9
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40991B

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

Preview Lab → · Contrast checker → · Palette generator →

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