#407528#407528

#407528 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.8% C 0.123 H 137.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#407528
RGBrgb(64, 117, 40)
HSLhsl(101, 49%, 31%)
HSVhsv(101, 66%, 46%)
CMYKcmyk(45.3%, 0%, 65.8%, 54.1%)
CIE-LABlab(44.18, -32.71, 36.00)
CIE-LCHlch(44.18, 48.64, 132.27°)
OKLaboklab(50.78% -0.0904 0.0834)
OKLCHoklch(50.78% 0.123 137.3)
XYZxyz(8.8584, 13.9652, 4.2359)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407528 #5D2875
analogous
#667528 #407528 #287536
triadic
#407528 #284075 #752840
tetradic
#407528 #286675 #5D2875 #753628
square
#407528 #286675 #5D2875 #753628
split-complementary
#407528 #362875 #752866
monochromatic
#0E1A09 #274718 #407528 #59A338 #76C453

Accessibility & contrast

On white

5.54
#407528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#407528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407528
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407528#FFFFFF#000000##FFFFFF
##4075281.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#3D7165
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407528;
/* rgb */ color: rgb(64, 117, 40);
/* oklch */ color: oklch(50.8% 0.123 137.3);
Tailwind
colors: {
  custom: {
    50: '#799d65',
    500: '#407528',
    950: '#000000',
  },
}
SCSS
$custom: #407528;
$custom-light: #799d65;
$custom-dark: #000000;
JSON
{
  "hex": "#407528",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 101.299,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.12298,
    "h": 137.3
  },
  "luminance": 0.13966
}

Semantic roles & 50–950 ramp

primary
#407528
secondary
#8C52A7
accent
#4FD9AE
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #407528

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

Preview Lab → · Contrast checker → · Palette generator →

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