#407028#407028

#407028 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.4% C 0.116 H 136.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#407028
RGBrgb(64, 112, 40)
HSLhsl(100, 47%, 30%)
HSVhsv(100, 64%, 44%)
CMYKcmyk(42.9%, 0%, 64.3%, 56.1%)
CIE-LABlab(42.51, -30.44, 34.13)
CIE-LCHlch(42.51, 45.73, 131.73°)
OKLaboklab(49.41% -0.0842 0.0794)
OKLCHoklch(49.41% 0.116 136.7)
XYZxyz(8.2913, 12.8311, 4.0468)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407028 #582870
analogous
#647028 #407028 #287034
triadic
#407028 #284070 #702840
tetradic
#407028 #286470 #582870 #703428
square
#407028 #286470 #582870 #703428
split-complementary
#407028 #342870 #702864
monochromatic
#0D1708 #264318 #407028 #5A9D38 #77C151

Accessibility & contrast

On white

5.89
#407028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#407028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407028
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407028#FFFFFF#000000##FFFFFF
##4070281.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6D632E
Tritanopia (blue-blind)
#3E6C61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #407028;
/* rgb */ color: rgb(64, 112, 40);
/* oklch */ color: oklch(49.4% 0.116 136.7);
Tailwind
colors: {
  custom: {
    50: '#799965',
    500: '#407028',
    950: '#000000',
  },
}
SCSS
$custom: #407028;
$custom-light: #799965;
$custom-dark: #000000;
JSON
{
  "hex": "#407028",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 40
  },
  "hsl": {
    "h": 100,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49409,
    "c": 0.11574,
    "h": 136.7
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#407028
secondary
#8751A2
accent
#51D7AA
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #407028

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

Preview Lab → · Contrast checker → · Palette generator →

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