#40951D#40951D

#40951D is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.4% C 0.172 H 138.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#40951D
RGBrgb(64, 149, 29)
HSLhsl(103, 67%, 35%)
HSVhsv(103, 81%, 58%)
CMYKcmyk(57%, 0%, 80.5%, 41.6%)
CIE-LABlab(54.73, -46.72, 51.06)
CIE-LCHlch(54.73, 69.21, 132.46°)
OKLaboklab(59.43% -0.129 0.1134)
OKLCHoklch(59.43% 0.172 138.7)
XYZxyz(13.0831, 22.6725, 4.8490)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40951D #721D95
analogous
#7C951D #40951D #1D9536
triadic
#40951D #1D4095 #951D40
tetradic
#40951D #1D7C95 #721D95 #95361D
square
#40951D #1D7C95 #721D95 #95361D
split-complementary
#40951D #361D95 #951D7C
monochromatic
#142F09 #2A6213 #40951D #56C827 #79DD50

Accessibility & contrast

On white

3.79
#40951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#40951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40951D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40951D#FFFFFF#000000##000000
##40951D1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#38907F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40951d;
/* rgb */ color: rgb(64, 149, 29);
/* oklch */ color: oklch(59.4% 0.172 138.7);
Tailwind
colors: {
  custom: {
    50: '#7fb564',
    500: '#40951d',
    950: '#000000',
  },
}
SCSS
$custom: #40951d;
$custom-light: #7fb564;
$custom-dark: #000000;
JSON
{
  "hex": "#40951d",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 102.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59434,
    "c": 0.17177,
    "h": 138.7
  },
  "luminance": 0.22674
}

Semantic roles & 50–950 ramp

primary
#40951D
secondary
#9F4EC0
accent
#3DEAB8
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40951D

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

Preview Lab → · Contrast checker → · Palette generator →

#40951D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva