#40984E#40984E

#40984E is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.8% C 0.138 H 146.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#40984E
RGBrgb(64, 152, 78)
HSLhsl(130, 41%, 42%)
HSVhsv(130, 58%, 60%)
CMYKcmyk(57.9%, 0%, 48.7%, 40.4%)
CIE-LABlab(56.18, -42.64, 31.08)
CIE-LCHlch(56.18, 52.77, 143.92°)
OKLaboklab(60.78% -0.1154 0.0756)
OKLCHoklch(60.78% 0.138 146.8)
XYZxyz(14.7168, 24.0952, 11.0815)
Luminance0.2410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40984E #98408A
analogous
#5E9840 #40984E #40987A
triadic
#40984E #4E4098 #984E40
tetradic
#40984E #405E98 #98408A #987A40
square
#40984E #405E98 #98408A #987A40
split-complementary
#40984E #7A4098 #98405E
monochromatic
#1C4222 #2E6D38 #40984E #5BBA6A #86CC91

Accessibility & contrast

On white

3.61
#40984E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#40984E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40984E
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40984E#FFFFFF#000000##000000
##40984E1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C48
Deuteranopia (green-blind)
#8E8453
Tritanopia (blue-blind)
#2D9587
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40984e;
/* rgb */ color: rgb(64, 152, 78);
/* oklch */ color: oklch(60.8% 0.138 146.8);
Tailwind
colors: {
  custom: {
    50: '#7db781',
    500: '#40984e',
    950: '#000000',
  },
}
SCSS
$custom: #40984e;
$custom-light: #7db781;
$custom-dark: #000000;
JSON
{
  "hex": "#40984e",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 78
  },
  "hsl": {
    "h": 129.545,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60779,
    "c": 0.13801,
    "h": 146.8
  },
  "luminance": 0.24097
}

Semantic roles & 50–950 ramp

primary
#40984E
secondary
#B77DAE
accent
#57BDD1
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40984E

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

Preview Lab → · Contrast checker → · Palette generator →

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