#40951E#40951E

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

Color values

HEX#40951E
RGBrgb(64, 149, 30)
HSLhsl(103, 66%, 35%)
HSVhsv(103, 80%, 58%)
CMYKcmyk(57%, 0%, 79.9%, 41.6%)
CIE-LABlab(54.74, -46.66, 50.75)
CIE-LCHlch(54.74, 68.94, 132.60°)
OKLaboklab(59.44% -0.1288 0.1129)
OKLCHoklch(59.44% 0.171 138.7)
XYZxyz(13.0956, 22.6775, 4.9151)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40951E #731E95
analogous
#7B951E #40951E #1E9537
triadic
#40951E #1E4095 #951E40
tetradic
#40951E #1E7B95 #731E95 #95371E
square
#40951E #1E7B95 #731E95 #95371E
split-complementary
#40951E #371E95 #951E7B
monochromatic
#142F09 #2A6214 #40951E #56C828 #79DC51

Accessibility & contrast

On white

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

On black

5.54
#40951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40951E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40951E#FFFFFF#000000##000000
##40951E1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40951e;
/* rgb */ color: rgb(64, 149, 30);
/* oklch */ color: oklch(59.4% 0.171 138.7);
Tailwind
colors: {
  custom: {
    50: '#7fb564',
    500: '#40951e',
    950: '#000000',
  },
}
SCSS
$custom: #40951e;
$custom-light: #7fb564;
$custom-dark: #000000;
JSON
{
  "hex": "#40951e",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 102.857,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59439,
    "c": 0.17127,
    "h": 138.7
  },
  "luminance": 0.22679
}

Semantic roles & 50–950 ramp

primary
#40951E
secondary
#9F50BF
accent
#3EE9B9
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40951E

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

Preview Lab → · Contrast checker → · Palette generator →

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