#408628#408628

#408628 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.146 H 138.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#408628
RGBrgb(64, 134, 40)
HSLhsl(105, 54%, 34%)
HSVhsv(105, 70%, 53%)
CMYKcmyk(52.2%, 0%, 70.1%, 47.5%)
CIE-LABlab(49.85, -40.01, 42.12)
CIE-LCHlch(49.85, 58.09, 133.53°)
OKLaboklab(55.43% -0.1102 0.0963)
OKLCHoklch(55.43% 0.146 138.8)
XYZxyz(11.0220, 18.2926, 4.9571)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408628 #6E2886
analogous
#6F8628 #408628 #28863F
triadic
#408628 #284086 #862840
tetradic
#408628 #286F86 #6E2886 #863F28
square
#408628 #286F86 #6E2886 #863F28
split-complementary
#408628 #3F2886 #86286F
monochromatic
#13280C #29571A #408628 #57B536 #78CE5B

Accessibility & contrast

On white

4.51
#408628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#408628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408628
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408628#FFFFFF#000000##000000
##4086281.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1B
Deuteranopia (green-blind)
#817431
Tritanopia (blue-blind)
#3A8173
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #408628;
/* rgb */ color: rgb(64, 134, 40);
/* oklch */ color: oklch(55.4% 0.146 138.8);
Tailwind
colors: {
  custom: {
    50: '#7caa67',
    500: '#408628',
    950: '#000000',
  },
}
SCSS
$custom: #408628;
$custom-light: #7caa67;
$custom-dark: #000000;
JSON
{
  "hex": "#408628",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 104.681,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55431,
    "c": 0.14634,
    "h": 138.8
  },
  "luminance": 0.18293
}

Semantic roles & 50–950 ramp

primary
#408628
secondary
#9B57B3
accent
#4ADDB8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408628

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

Preview Lab → · Contrast checker → · Palette generator →

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