#40951C#40951C

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

Color values

HEX#40951C
RGBrgb(64, 149, 28)
HSLhsl(102, 68%, 35%)
HSVhsv(102, 81%, 58%)
CMYKcmyk(57%, 0%, 81.2%, 41.6%)
CIE-LABlab(54.73, -46.78, 51.37)
CIE-LCHlch(54.73, 69.48, 132.32°)
OKLaboklab(59.43% -0.1292 0.1139)
OKLCHoklch(59.43% 0.172 138.6)
XYZxyz(13.0709, 22.6676, 4.7849)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40951C #711C95
analogous
#7D951C #40951C #1C9535
triadic
#40951C #1C4095 #951C40
tetradic
#40951C #1C7D95 #711C95 #95351C
square
#40951C #1C7D95 #711C95 #95351C
split-complementary
#40951C #351C95 #951C7D
monochromatic
#142E09 #2A6112 #40951C #56C926 #79DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40951C#FFFFFF#000000##000000
##40951C1.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)
#8F802A
Tritanopia (blue-blind)
#38907F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40951c;
/* rgb */ color: rgb(64, 149, 28);
/* oklch */ color: oklch(59.4% 0.172 138.6);
Tailwind
colors: {
  custom: {
    50: '#7fb563',
    500: '#40951c',
    950: '#000000',
  },
}
SCSS
$custom: #40951c;
$custom-light: #7fb563;
$custom-dark: #000000;
JSON
{
  "hex": "#40951c",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 102.149,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.17225,
    "h": 138.6
  },
  "luminance": 0.22669
}

Semantic roles & 50–950 ramp

primary
#40951C
secondary
#9E4DC0
accent
#3DEBB7
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40951C

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

Preview Lab → · Contrast checker → · Palette generator →

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