#40951A#40951A

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

Color values

HEX#40951A
RGBrgb(64, 149, 26)
HSLhsl(101, 70%, 34%)
HSVhsv(101, 83%, 58%)
CMYKcmyk(57%, 0%, 82.6%, 41.6%)
CIE-LABlab(54.72, -46.89, 51.96)
CIE-LCHlch(54.72, 69.99, 132.07°)
OKLaboklab(59.42% -0.1296 0.1149)
OKLCHoklch(59.42% 0.173 138.4)
XYZxyz(13.0478, 22.6584, 4.6630)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40951A #6F1A95
analogous
#7E951A #40951A #1A9531
triadic
#40951A #1A4095 #951A40
tetradic
#40951A #1A7E95 #6F1A95 #95311A
square
#40951A #1A7E95 #6F1A95 #95311A
split-complementary
#40951A #311A95 #951A7E
monochromatic
#132D08 #2A6111 #40951A #56C923 #78DF4A

Accessibility & contrast

On white

3.80
#40951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40951A#FFFFFF#000000##000000
##40951A1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40951a;
/* rgb */ color: rgb(64, 149, 26);
/* oklch */ color: oklch(59.4% 0.173 138.4);
Tailwind
colors: {
  custom: {
    50: '#7fb562',
    500: '#40951a',
    950: '#000000',
  },
}
SCSS
$custom: #40951a;
$custom-light: #7fb562;
$custom-dark: #000000;
JSON
{
  "hex": "#40951a",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 101.463,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.17317,
    "h": 138.4
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

primary
#40951A
secondary
#9C4AC1
accent
#3BEDB6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40951A

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

Preview Lab → · Contrast checker → · Palette generator →

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