#408E28#408E28

#408E28 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.157 H 139.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#408E28
RGBrgb(64, 142, 40)
HSLhsl(106, 56%, 36%)
HSVhsv(106, 72%, 56%)
CMYKcmyk(54.9%, 0%, 71.8%, 44.3%)
CIE-LABlab(52.50, -43.23, 44.89)
CIE-LCHlch(52.50, 62.32, 133.92°)
OKLaboklab(57.61% -0.1189 0.1021)
OKLCHoklch(57.61% 0.157 139.3)
XYZxyz(12.1699, 20.5882, 5.3397)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E28 #76288E
analogous
#738E28 #408E28 #288E43
triadic
#408E28 #28408E #8E2840
tetradic
#408E28 #28738E #76288E #8E4328
square
#408E28 #28738E #76288E #8E4328
split-complementary
#408E28 #43288E #8E2873
monochromatic
#152F0D #2A5E1B #408E28 #56BE35 #7AD25F

Accessibility & contrast

On white

4.10
#408E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#408E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E28
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E28#FFFFFF#000000##000000
##408E281.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#38897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e28;
/* rgb */ color: rgb(64, 142, 40);
/* oklch */ color: oklch(57.6% 0.157 139.3);
Tailwind
colors: {
  custom: {
    50: '#7db068',
    500: '#408e28',
    950: '#000000',
  },
}
SCSS
$custom: #408e28;
$custom-light: #7db068;
$custom-dark: #000000;
JSON
{
  "hex": "#408e28",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 105.882,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.15673,
    "h": 139.3
  },
  "luminance": 0.20589
}

Semantic roles & 50–950 ramp

primary
#408E28
secondary
#A15BB7
accent
#48DFBC
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408E28

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

Preview Lab → · Contrast checker → · Palette generator →

#408E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva