#407948#407948

#407948 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.4% C 0.097 H 147.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#407948
RGBrgb(64, 121, 72)
HSLhsl(128, 31%, 36%)
HSVhsv(128, 47%, 47%)
CMYKcmyk(47.1%, 0%, 40.5%, 52.5%)
CIE-LABlab(45.95, -30.04, 21.21)
CIE-LCHlch(45.95, 36.77, 144.77°)
OKLaboklab(52.37% -0.0817 0.0527)
OKLCHoklch(52.37% 0.097 147.2)
XYZxyz(10.1209, 15.2319, 8.5364)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407948 #794071
analogous
#557940 #407948 #407965
triadic
#407948 #484079 #794840
tetradic
#407948 #405579 #794071 #796540
square
#407948 #405579 #794071 #796540
split-complementary
#407948 #654079 #794055
monochromatic
#162918 #2B5130 #407948 #55A160 #7AB983

Accessibility & contrast

On white

5.19
#407948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#407948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407948
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407948#FFFFFF#000000##FFFFFF
##4079481.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7045
Deuteranopia (green-blind)
#726B4B
Tritanopia (blue-blind)
#37776D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407948;
/* rgb */ color: rgb(64, 121, 72);
/* oklch */ color: oklch(52.4% 0.097 147.2);
Tailwind
colors: {
  custom: {
    50: '#78a07b',
    500: '#407948',
    950: '#000000',
  },
}
SCSS
$custom: #407948;
$custom-light: #78a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#407948",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 128.421,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.09718,
    "h": 147.2
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#407948
secondary
#A4719C
accent
#61B9C7
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F09
muted
#7B7E7B

Preview Lab

Preview with #407948

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

Preview Lab → · Contrast checker → · Palette generator →

#407948 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva